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.
|
remove
public CollectionEventStream(Collection<Event> c)
public Event next()
EventStream
public boolean hasNext()
EventStream
Copyright © 2015 The Apache Software Foundation. All rights reserved.