Class CursorIterator<E>
- java.lang.Object
-
- org.apache.directory.api.ldap.model.cursor.CursorIterator<E>
-
- Type Parameters:
E- The type of element on which this cursor will iterate
- All Implemented Interfaces:
Iterator<E>
public class CursorIterator<E> extends Object implements Iterator<E>
An Iterator over a Cursor so Cursors can be Iterable for using in foreach constructs.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description CursorIterator(Cursor<E> cursor)Creates a new instance of CursorIterator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Enext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-