Interface IteratorView<E>
-
- All Superinterfaces:
Iterator<E>,UnmodifiableIterator<E>
public interface IteratorView<E> extends UnmodifiableIterator<E>
-
-
Field Summary
-
Fields inherited from interface com.floragunn.fluent.collections.UnmodifiableIterator
EMPTY
-
-
Method Summary
Static Methods Modifier and Type Method Description static <E> UnmodifiableIterator<E>filter(Iterator<E> iter, Predicate<E> predicate)static <ES,ET>
IteratorView<ET>map(Iterator<ES> iterator, Function<ES,ET> valueMappingFunction)-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
-
Methods inherited from interface com.floragunn.fluent.collections.UnmodifiableIterator
remove
-
-
-
-
Method Detail
-
filter
static <E> UnmodifiableIterator<E> filter(Iterator<E> iter, Predicate<E> predicate)
-
map
static <ES,ET> IteratorView<ET> map(Iterator<ES> iterator, Function<ES,ET> valueMappingFunction)
-
-