public abstract static class Iterators.Adapter<T,U> extends Iterators.ReadOnly<T>
Iterator
that wraps another Iterator
and changes its type.Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<? extends U> |
core |
Constructor and Description |
---|
Adapter(java.util.Iterator<? extends U> core) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
filter(U u) |
boolean |
hasNext() |
T |
next() |
remove