net.esper.view.ext
Class SortWindowIterator

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

public final class SortWindowIterator
extends java.lang.Object
implements java.util.Iterator<EventBean>

Iterator for use by SortWindowView.


Constructor Summary
SortWindowIterator(java.util.SortedMap<MultiKey,java.util.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(java.util.SortedMap<MultiKey,java.util.LinkedList<EventBean>> window)
Ctor.

Parameters:
window - - sorted map with events
Method Detail

next

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

hasNext

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

remove

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