| Package | Description |
|---|---|
| org.organicdesign.fp.xform |
Immutable descriptions of data transformations (Transformable), and a highly efficient
single-pass, short-circuiting implementation that carries out those transforms in a single pass
(Xform).
|
| Modifier and Type | Field and Description |
|---|---|
static Xform |
Xform.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
Xform<A> |
Xform.concat(Iterable<? extends A> list) |
Xform<A> |
Xform.drop(long n)
The number of items to drop from the beginning of the output.
|
Xform<A> |
Xform.dropWhile(Fn1<? super A,Boolean> predicate)
The number of items to drop from the beginning of the output.
|
static <T> Xform<T> |
Xform.empty() |
Xform<A> |
Xform.filter(Fn1<? super A,Boolean> f) |
<B> Xform<B> |
Xform.flatMap(Fn1<? super A,Iterable<B>> f) |
<B> Xform<B> |
Xform.map(Fn1<? super A,? extends B> f) |
static <T> Xform<T> |
Xform.of(Iterable<? extends T> list)
Static factory methods
|
Xform<A> |
Xform.precat(Iterable<? extends A> list) |
Xform<A> |
Xform.take(long numItems) |
Xform<A> |
Xform.takeWhile(Fn1<? super A,Boolean> f) |
Copyright © 2019. All rights reserved.