private static class Linqy.FilteringIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Modifier and Type | Field and Description |
|---|---|
private Predicate<? super T> |
filter |
private java.util.Iterator<T> |
i |
private T |
lookAhead |
| Modifier | Constructor and Description |
|---|---|
private |
FilteringIterator(java.util.Iterator<T> i,
Predicate<? super T> filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |