com.espertech.esper.collection
Class ArrayEventIterator
java.lang.Object
com.espertech.esper.collection.ArrayEventIterator
- All Implemented Interfaces:
- Iterator<EventBean>
public class ArrayEventIterator
- extends Object
- implements Iterator<EventBean>
Iterator for an array of events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayEventIterator
public ArrayEventIterator(EventBean[] events)
- Ctor.
- Parameters:
events
- is an array of events to iterator over, or null to indicate no results
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<EventBean>
next
public EventBean next()
- Specified by:
next
in interface Iterator<EventBean>
remove
public void remove()
- Specified by:
remove
in interface Iterator<EventBean>