Class IteratorBufferedIterator<T>
java.lang.Object
org.codehaus.groovy.util.IteratorBufferedIterator<T>
- All Implemented Interfaces:
BufferedIterator<T>, Iterator<T>
An implementation for BufferedIterator wraps Iterator.
- Since:
- 2.5.0
-
Constructor Details
-
IteratorBufferedIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-
head
Return the next element to be returned by next() without consuming it.- Specified by:
headin interfaceBufferedIterator<T>
-