@Deprecated public class HashSumEventStream extends Object implements EventStream
| Constructor and Description |
|---|
HashSumEventStream(EventStream eventStream)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
calculateHashSum()
Deprecated.
Calculates the hash sum of the stream.
|
boolean |
hasNext()
Deprecated.
Test whether there are any Events remaining in this EventStream.
|
Event |
next()
Deprecated.
Returns the next Event object held in this EventStream.
|
void |
remove()
Deprecated.
|
public HashSumEventStream(EventStream eventStream)
public boolean hasNext()
throws IOException
EventStreamhasNext in interface EventStreamIOExceptionpublic Event next() throws IOException
EventStreamnext in interface EventStreamIOExceptionpublic BigInteger calculateHashSum()
IllegalStateException - if the stream is not consumed completely,
completely means that hasNext() returns falsepublic void remove()
Copyright © 2016 The Apache Software Foundation. All rights reserved.