Package com.sun.identity.shared
Class BufferedIterator<T>
- java.lang.Object
-
- com.sun.identity.shared.BufferedIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
SimpleIterator
public class BufferedIterator<T> extends Object implements Iterator<T>
This iterator allows next method to be called before it has all its elements.
-
-
Constructor Summary
Constructors Constructor Description BufferedIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(List<T> entry)voidadd(T entry)booleanhasNext()voidisDone()Tnext()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
-
-
-
-
Method Detail
-
add
public void add(T entry)
-
isDone
public void isDone()
-
-