public class CollectionEventStream extends AbstractEventStream
| Constructor and Description |
|---|
CollectionEventStream(Collection<Event> c) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Test whether there are any Events remaining in this EventStream.
|
Event |
next()
Returns the next Event object held in this EventStream.
|
removepublic CollectionEventStream(Collection<Event> c)
public Event next()
EventStreampublic boolean hasNext()
EventStreamCopyright © 2016 The Apache Software Foundation. All rights reserved.