Class ListHelper<T>
java.lang.Object
org.reactfx.util.ListHelper<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ListHelper<T> add(ListHelper<T> listHelper, T elem) static <T> voidforEach(ListHelper<T> listHelper, Consumer<? super T> f) static <T> voidforEachBetween(ListHelper<T> listHelper, int from, int to, Consumer<? super T> f) static <T> Tget(ListHelper<T> listHelper, int index) static <T> booleanisEmpty(ListHelper<T> listHelper) static <T> Iterator<T> iterator(ListHelper<T> listHelper) static <T> Iterator<T> iterator(ListHelper<T> listHelper, int from, int to) 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) static <T> ListHelper<T> remove(ListHelper<T> listHelper, T elem) static <T> intsize(ListHelper<T> listHelper) static <T> T[]toArray(ListHelper<T> listHelper, IntFunction<T[]> allocator)
-
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
-