opennlp.tools.util
Class HashSumEventStream
java.lang.Object
opennlp.tools.util.HashSumEventStream
- All Implemented Interfaces:
- opennlp.model.EventStream
Deprecated.
@Deprecated
public class HashSumEventStream
- extends Object
- implements opennlp.model.EventStream
HashSumEventStream
public HashSumEventStream(opennlp.model.EventStream eventStream)
- Deprecated.
hasNext
public boolean hasNext()
throws IOException
- Deprecated.
- Specified by:
hasNext
in interface opennlp.model.EventStream
- Throws:
IOException
next
public opennlp.model.Event next()
throws IOException
- Deprecated.
- Specified by:
next
in interface opennlp.model.EventStream
- Throws:
IOException
calculateHashSum
public BigInteger calculateHashSum()
- Deprecated.
- Calculates the hash sum of the stream. The method must be
called after the stream is completely consumed.
- Returns:
- the hash sum
- Throws:
IllegalStateException
- if the stream is not consumed completely,
completely means that hasNext() returns false
remove
public void remove()
- Deprecated.
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.