Package org.reactfx.util
Class LL.Cons<T>
- java.lang.Object
-
- org.reactfx.util.LL<T>
-
- org.reactfx.util.LL.Cons<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> R
fold(R acc, java.util.function.BiFunction<? super R,? super T,? extends R> reduction)
T
head()
boolean
isEmpty()
java.util.Iterator<T>
iterator()
<U> LL.Cons<U>
map(java.util.function.Function<? super T,? extends U> f)
<R> java.util.Optional<R>
mapReduce(java.util.function.Function<? super T,? extends R> map, java.util.function.BinaryOperator<R> reduce)
<R> R
mapReduce1(java.util.function.Function<? super T,? extends R> map, java.util.function.BinaryOperator<R> reduce)
int
size()
LL<? extends T>
tail()
-
Methods inherited from class org.reactfx.util.LL
all, concat, cons, mapFirst2, mapFirst3, mapFirst4, mapFirst5, mapFirst6, nil, of, stream, toString
-
-
-
-
Method Detail
-
fold
public <R> R fold(R acc, java.util.function.BiFunction<? super R,? super T,? extends R> reduction)
-
iterator
public final java.util.Iterator<T> iterator()
-
mapReduce
public <R> java.util.Optional<R> mapReduce(java.util.function.Function<? super T,? extends R> map, java.util.function.BinaryOperator<R> reduce)
-
mapReduce1
public <R> R mapReduce1(java.util.function.Function<? super T,? extends R> map, java.util.function.BinaryOperator<R> reduce)
-
-