net.esper.view.ext
Class SortWindowIterator

java.lang.Object
  extended by net.esper.view.ext.SortWindowIterator
All Implemented Interfaces:
Iterator<EventBean>

public final class SortWindowIterator
extends Object
implements Iterator<EventBean>

Iterator for use by SortWindowView.


Constructor Summary
SortWindowIterator(SortedMap<MultiKey,LinkedList<EventBean>> window)
          Ctor.
 
Method Summary
 boolean hasNext()
           
 EventBean next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortWindowIterator

public SortWindowIterator(SortedMap<MultiKey,LinkedList<EventBean>> window)
Ctor.

Parameters:
window - - sorted map with events
Method Detail

next

public final EventBean next()
Specified by:
next in interface Iterator<EventBean>

hasNext

public final boolean hasNext()
Specified by:
hasNext in interface Iterator<EventBean>

remove

public final void remove()
Specified by:
remove in interface Iterator<EventBean>