Iter<T> |
Iter.append(java.util.Iterator<T> iter) |
Join on an Iterator..
|
static <T> Iter<T> |
Iter.concat(java.util.Iterator<T> iter1,
java.util.Iterator<T> iter2) |
An Iterator of 2 Iterator's.
|
static <T> Iter<T> |
Iter.concat(Iter<T> iter1,
Iter<T> iter2) |
An Iter of 2 Iter's
|
Iter<T> |
Iter.distinct() |
Return an Iter that will see each element of the underlying iterator only once.
|
Iter<T> |
Iter.distinctAdjacent() |
Remove adjacent duplicates.
|
Iter<T> |
Iter.dropUntil(java.util.function.Predicate<T> predicate) |
Create an Iter such that elements from the front until
a predicate test become true are dropped then return all remaining elements
are iterated over.
|
Iter<T> |
Iter.dropWhile(java.util.function.Predicate<T> predicate) |
Create an Iter such that elements from the front while
a predicate test become true are dropped then return all remaining elements
are iterated over.
|
static <T> Iter<T> |
Iter.empty() |
|
Iter<T> |
Iter.filter(java.util.function.Predicate<T> filter) |
Filter by predicate
|
<R> Iter<R> |
Iter.flatMap(java.util.function.Function<T,java.util.Iterator<R>> converter) |
FlatMap each element using given function of element to iterator of mapped elements.s
|
static <T> Iter<T> |
Iter.iter(java.util.Collection<T> collection) |
|
static <T> Iter<T> |
Iter.iter(java.util.Iterator<T> iterator) |
|
static <T> Iter<T> |
Iter.iter(Iter<T> iter) |
|
Iter<T> |
Iter.limit(long N) |
Limit the number of elements.
|
<R> Iter<R> |
Iter.map(java.util.function.Function<T,R> converter) |
Map each element using given function
|
static <T> Iter<T> |
Iter.nullIter() |
|
static <T> Iter<T> |
Iter.of(T item) |
|
static <T> Iter<T> |
Iter.of(T... items) |
|
static <T> Iter<T> |
Iter.ofNullable(T t) |
|
Iter<T> |
Iter.operate(java.util.function.Consumer<T> action) |
Apply an action to everything in the stream, yielding a stream of the
original items.
|
Iter<T> |
Iter.removeNulls() |
Remove nulls
|
static <T> Iter<T> |
Iter.singletonIter(T item) |
|
Iter<T> |
Iter.skip(long N) |
Skip over a number of elements.
|
Iter<T> |
Iter.take(int N) |
Return an Iter that yields at most the first N items
|
Iter<T> |
Iter.takeUntil(java.util.function.Predicate<T> predicate) |
Create an Iter such that it yields elements until a predicate test on
the elements becomes true, end the iteration.
|
Iter<T> |
Iter.takeWhile(java.util.function.Predicate<T> predicate) |
Create an Iter such that it yields elements while a predicate test on
the elements is true, end the iteration.
|