public class IteratorUtils extends Object
| Constructor and Description |
|---|
IteratorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterator<T> |
filter(Iterator<T> base,
Predicate<T> p) |
static <T,V> Iterator<V> |
map(Iterator<T> base,
Function<T,V> f) |
static <T,V> Iterator<V> |
mapOptional(Iterator<T> base,
Function<T,Optional<V>> f) |
Copyright © 2021 vpc open source initiative. All rights reserved.