public class MappedIterator<S,T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
MappedIterator(java.util.Iterator<S> it,
java.util.function.Function<S,T> mapping) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |