public class HashSumEventStream extends AbstractObjectStream<Event>
Constructor and Description |
---|
HashSumEventStream(ObjectStream<Event> eventStream) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
calculateHashSum()
Calculates the hash sum of the stream.
|
Event |
read()
Returns the next object.
|
void |
remove() |
close, reset
public HashSumEventStream(ObjectStream<Event> eventStream)
public Event read() throws java.io.IOException
ObjectStream
read
in interface ObjectStream<Event>
read
in class AbstractObjectStream<Event>
java.io.IOException
- if there is an error during readingpublic java.math.BigInteger calculateHashSum()
java.lang.IllegalStateException
- if the stream is not consumed completely,
completely means that hasNext() returns falsepublic void remove()
Copyright © 2010 - 2020 Adobe. All Rights Reserved