Class ProducerIterator<T>
- java.lang.Object
-
- org.codehaus.janino.util.iterator.ProducerIterator<T>
-
- Type Parameters:
T
- The type of the products and the iterator elements
- All Implemented Interfaces:
Iterator<T>
- Direct Known Subclasses:
DirectoryIterator
public class ProducerIterator<T> extends Object implements Iterator<T>
- See Also:
Producer
-
-
Constructor Summary
Constructors Constructor Description ProducerIterator(Producer<T> producer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
T
next()
void
remove()
-
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
-
-