|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopennlp.tools.util.HashSumEventStream
public class HashSumEventStream
| Constructor Summary | |
|---|---|
HashSumEventStream(EventStream eventStream)
|
|
| Method Summary | |
|---|---|
java.math.BigInteger |
calculateHashSum()
Calculates the hash sum of the stream. |
boolean |
hasNext()
|
Event |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashSumEventStream(EventStream eventStream)
| Method Detail |
|---|
public boolean hasNext()
throws java.io.IOException
hasNext in interface EventStreamjava.io.IOException
public Event next()
throws java.io.IOException
next in interface EventStreamjava.io.IOExceptionpublic java.math.BigInteger calculateHashSum()
java.lang.IllegalStateException - if the stream is not consumed completely,
completely means that hasNext() returns falsepublic void remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||