com.espertech.esper.collection
Class TimeWindowIterator
java.lang.Object
com.espertech.esper.collection.TimeWindowIterator
- All Implemented Interfaces:
- Iterator<EventBean>
public final class TimeWindowIterator
- extends Object
- implements Iterator<EventBean>
Iterator for TimeWindow
to iterate over a timestamp slots that hold events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeWindowIterator
public TimeWindowIterator(ArrayDequeJDK6Backport<Pair<Long,ArrayDequeJDK6Backport<EventBean>>> window)
- Ctor.
- Parameters:
window
- is the time-slotted collection
next
public final EventBean next()
- Specified by:
next
in interface Iterator<EventBean>
remove
public final void remove()
- Specified by:
remove
in interface Iterator<EventBean>
hasNext
public final boolean hasNext()
- Specified by:
hasNext
in interface Iterator<EventBean>