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()
EventStream
next
in interface EventStream
public boolean hasNext()
EventStream
hasNext
in interface EventStream
Copyright © 2015 The Apache Software Foundation. All rights reserved.