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> R
fold
(R acc, BiFunction<? super R, ? super T, ? extends R> reduction) head()
(package private) static <T> LL.Nil
<T> instance()
boolean
isEmpty()
iterator()
<U> LL
<U> <R> Optional
<R> mapReduce
(Function<? super T, ? extends R> map, BinaryOperator<R> reduce) int
size()
tail()
Methods inherited from class org.reactfx.util.LL
all, concat, cons, mapFirst2, mapFirst3, mapFirst4, mapFirst5, mapFirst6, nil, of, stream, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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
-