public class UntilIterator<T> extends AbstractIterator<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
index |
current, exhausted, iterator, loaded| Constructor and Description |
|---|
UntilIterator(java.util.Iterator<T> iterator,
groovy.lang.Closure<java.lang.Boolean> predicate,
boolean withIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadNext() |
protected boolean |
performCheck() |
protected void |
setDelegate() |
hasNext, next, removepublic UntilIterator(java.util.Iterator<T> iterator, groovy.lang.Closure<java.lang.Boolean> predicate, boolean withIndex)
protected void loadNext()
loadNext in class AbstractIterator<T>protected void setDelegate()
protected boolean performCheck()