Package ru.curs.celesta.dbutils
Class CursorIterator<T extends BasicCursor>
- java.lang.Object
-
- ru.curs.celesta.dbutils.CursorIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
public class CursorIterator<T extends BasicCursor> extends Object implements Iterator<T>
-
-
Constructor Summary
Constructors Constructor Description CursorIterator(T cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
CursorIterator
public CursorIterator(T cursor)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<T extends BasicCursor>
-
next
public T next()
- Specified by:
next
in interfaceIterator<T extends BasicCursor>
-
-