| Package | Description |
|---|---|
| net.ninjacat.smooth.iterators |
| Modifier and Type | Method and Description |
|---|---|
LazyIter<E> |
LazyIter.filter(Predicate<E> predicate)
Filters out elements of iterable collection based on predicate.
|
<R> LazyIter<R> |
LazyIter.map(Func<R,E> func)
Maps all the values in the collection to other values using supplied function.
|
static <E> LazyIter<E> |
LazyIter.of(Collection<E> coll)
Constructs new lazy iterable from collection.
|
static <E> LazyIter<E> |
LazyIter.of(E... data)
Create new lazy iterable from array, sequence of parameters.
|
static <E> LazyIter<E> |
LazyIter.of(E head,
Collection<E> tail) |
LazyIter<E> |
LazyIter.tail()
This method is not lazy
|
Copyright © 2018. All rights reserved.