public class ListEventStream extends Object implements EventStream
| Constructor and Description |
|---|
ListEventStream(List<Event> events) |
| 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.
|
public Event next()
EventStreamnext in interface EventStreampublic boolean hasNext()
EventStreamhasNext in interface EventStreamCopyright © 2019 The Apache Software Foundation. All rights reserved.