Package org.reactfx.util
Class LL.Cons<T>
java.lang.Object
org.reactfx.util.LL<T>
org.reactfx.util.LL.Cons<T>
- All Implemented Interfaces:
Iterable<T>
-
Nested Class Summary
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> Rfold(R acc, BiFunction<? super R, ? super T, ? extends R> reduction) head()booleanisEmpty()iterator()<U> LL.Cons<U> <R> Optional<R> mapReduce(Function<? super T, ? extends R> map, BinaryOperator<R> reduce) <R> RmapReduce1(Function<? super T, ? extends R> map, BinaryOperator<R> reduce) intsize()tail()Methods inherited from class org.reactfx.util.LL
all, concat, cons, mapFirst2, mapFirst3, mapFirst4, mapFirst5, mapFirst6, nil, of, stream, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
head
-
tail
-
size
private final int size
-
-
Constructor Details
-
Cons
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
size
public int size() -
head
-
tail
-
map
-
fold
-
iterator
-
mapReduce
-
mapReduce1
-