All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
boolean |
all(java.util.function.Predicate<T> cond) |
static <T> LL<? extends T> |
concat(LL<? extends T> l1,
LL<? extends T> l2) |
static <T> LL.Cons<T> |
cons(T head,
LL<? extends T> tail) |
abstract <R> R |
fold(R acc,
java.util.function.BiFunction<? super R,? super T,? extends R> reduction) |
abstract T |
head() |
abstract boolean |
isEmpty() |
abstract <U> LL<U> |
map(java.util.function.Function<? super T,? extends U> f) |
<U> U |
mapFirst2(java.util.function.BiFunction<? super T,? super T,? extends U> f) |
<U> U |
mapFirst3(TriFunction<? super T,? super T,? super T,? extends U> f) |
<U> U |
mapFirst4(TetraFunction<? super T,? super T,? super T,? super T,? extends U> f) |
<U> U |
mapFirst5(PentaFunction<? super T,? super T,? super T,? super T,? super T,? extends U> f) |
<U> U |
mapFirst6(HexaFunction<? super T,? super T,? super T,? super T,? super T,? super T,? extends U> f) |
abstract <R> java.util.Optional<R> |
mapReduce(java.util.function.Function<? super T,? extends R> map,
java.util.function.BinaryOperator<R> reduce) |
static <T> LL<T> |
nil() |
static <T> LL.Cons<T> |
of(T head,
T... tail) |
abstract int |
size() |
java.util.stream.Stream<T> |
stream() |
abstract LL<? extends T> |
tail() |
java.lang.String |
toString() |