| Package | Description |
|---|---|
| net.ninjacat.smooth.iterators |
| Modifier and Type | Method and Description |
|---|---|
Promise<Boolean> |
LazyIter.all(Predicate<E> matcher)
Checks if all elements of collection match supplied predicate
|
Promise<Boolean> |
LazyIter.any(Predicate<E> matcher)
Checks if any of the elements of collection match supplied predicate
|
Promise<E> |
LazyIter.find(Predicate<E> matcher,
E defaultValue)
Finds element in collection that matches supplied
Predicate |
Promise<E> |
Iter.lazyFind(Predicate<E> matcher,
E defaultValue)
Lazy variant of
Iter.find(Predicate, Object) |
<R> Promise<R> |
Iter.lazyReduce(R starting,
Function2<R,R,E> f)
Lazily folds iterable iterator left
|
<R> Promise<R> |
LazyIter.reduce(R starting,
Function2<R,R,E> f)
Folds iterable collection left
|
Copyright © 2018. All rights reserved.