T - the type of elements returned by the delegated iteratorR - the type of elements returned by this iterator@ParametersAreNonnullByDefault public class DelegatedIterator<T,R> extends Object implements Iterator<R>
Iterator that iterates over another.| Constructor and Description |
|---|
DelegatedIterator(Iterator<T> delegate,
Function<T,R> mappingFunction)
Constructs a new
DelegatedIterator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
R |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2017–2019 Atlanmod. All rights reserved.