public abstract class FlatMapIterator<T,E> extends Object implements Iterator<T>
map(E) method
to each element.| Constructor and Description |
|---|
FlatMapIterator(Collection<E> elements)
Creates a new FlatMapIterator instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(E element)
Returns true if this element will be included in the mapping.
|
boolean |
hasNext() |
protected abstract Iterator<T> |
map(E element)
Maps the given element to a sequence of objects of type T.
|
T |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic FlatMapIterator(Collection<E> elements)
Copyright © 2025 The Cornutum Project. All rights reserved.