Package org.reactfx.util
Class LL.Nil<T>
java.lang.Object
org.reactfx.util.LL<T>
org.reactfx.util.LL.Nil<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()(package private) static <T> LL.Nil<T> instance()booleanisEmpty()iterator()<U> LL<U> <R> Optional<R> mapReduce(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
-
INSTANCE
-
-
Constructor Details
-
Nil
private Nil()
-
-
Method Details
-
instance
-
isEmpty
public boolean isEmpty() -
size
public int size() -
head
-
tail
-
map
-
iterator
-
fold
-
mapReduce
-