Class ListHelper<T>
java.lang.Object
org.reactfx.util.ListHelper<T>
- Direct Known Subclasses:
ListHelper.MultiElemHelper, ListHelper.SingleElemHelper
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ListHelper<T> add(ListHelper<T> listHelper, T elem) (package private) abstract ListHelper<T> (package private) abstract voidstatic <T> voidforEach(ListHelper<T> listHelper, Consumer<? super T> f) (package private) abstract voidforEachBetween(int from, int to, Consumer<? super T> f) static <T> voidforEachBetween(ListHelper<T> listHelper, int from, int to, Consumer<? super T> f) (package private) abstract Tget(int index) static <T> Tget(ListHelper<T> listHelper, int index) static <T> booleanisEmpty(ListHelper<T> listHelper) iterator()iterator(int from, int to) static <T> Iterator<T> iterator(ListHelper<T> listHelper) static <T> Iterator<T> iterator(ListHelper<T> listHelper, int from, int to) reduce(BinaryOperator<T> f) static <T> Optional<T> reduce(ListHelper<T> listHelper, BinaryOperator<T> f) static <T,U> U reduce(ListHelper<T> listHelper, U unit, BiFunction<U, T, U> f) (package private) abstract <U> Ureduce(U unit, BiFunction<U, T, U> f) static <T> ListHelper<T> remove(ListHelper<T> listHelper, T elem) (package private) abstract ListHelper<T> (package private) abstract intsize()static <T> intsize(ListHelper<T> listHelper) (package private) abstract T[]toArray(IntFunction<T[]> allocator) static <T> T[]toArray(ListHelper<T> listHelper, IntFunction<T[]> allocator)
-
Constructor Details
-
ListHelper
private ListHelper()
-
-
Method Details
-
get
-
add
-
remove
-
forEach
-
forEachBetween
public static <T> void forEachBetween(ListHelper<T> listHelper, int from, int to, Consumer<? super T> f) -
iterator
-
iterator
-
reduce
-
reduce
-
toArray
-
isEmpty
-
size
-
get
-
add
-
remove
-
forEach
-
forEachBetween
-
iterator
-
iterator
-
reduce
-
reduce
-
toArray
-
size
abstract int size()
-