com.espertech.esper.epl.join.rep
Class SingleCursorIterator
java.lang.Object
com.espertech.esper.epl.join.rep.SingleCursorIterator
- All Implemented Interfaces:
- Iterator<Cursor>
public class SingleCursorIterator
- extends Object
- implements Iterator<Cursor>
A utility class for an iterator that has one element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleCursorIterator
public SingleCursorIterator(Cursor cursor)
- Ctor.
- Parameters:
cursor
- is the single element.
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<Cursor>
next
public Cursor next()
- Specified by:
next
in interface Iterator<Cursor>
remove
public void remove()
- Specified by:
remove
in interface Iterator<Cursor>