com.espertech.esper.epl.join.rep
Class SingleCursorIterator

java.lang.Object
  extended by com.espertech.esper.epl.join.rep.SingleCursorIterator
All Implemented Interfaces:
java.util.Iterator<Cursor>

public class SingleCursorIterator
extends java.lang.Object
implements java.util.Iterator<Cursor>

A utility class for an iterator that has one element.


Constructor Summary
SingleCursorIterator(Cursor cursor)
          Ctor.
 
Method Summary
 boolean hasNext()
           
 Cursor next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleCursorIterator

public SingleCursorIterator(Cursor cursor)
Ctor.

Parameters:
cursor - is the single element.
Method Detail

hasNext

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

next

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

remove

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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com