Top Inners Constructors Methods
org.reactfx.util

public abstract Class ListHelper<T>

extends Object
Class Inheritance
Known Direct Subclasses
org.reactfx.util.ListHelper.SingleElemHelper, org.reactfx.util.ListHelper.MultiElemHelper
Imports
java.util.ArrayList, .Arrays, .Collections, .Iterator, .List, .NoSuchElementException, .Objects, .Optional, java.util.function.BiFunction, .BinaryOperator, .Consumer, .IntFunction

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> ListHelper<T>
add(ListHelper<T> listHelper, T elem)

pack-priv abstract ListHelper<T>
add(T elem)

public static <T> void
forEach(ListHelper<T> listHelper, Consumer<? super T> f)

pack-priv abstract void
forEach(Consumer<? super T> f)

public static <T> void
forEachBetween(ListHelper<T> listHelper, int from, int to, Consumer<? super T> f)

pack-priv abstract void
forEachBetween(int from, int to, Consumer<? super T> f)

public static <T> T
get(ListHelper<T> listHelper, int index)

pack-priv abstract T
get(int index)

public static <T> boolean
isEmpty(ListHelper<T> listHelper)

public static <T> Iterator<T>
iterator(ListHelper<T> listHelper)

public static <T> Iterator<T>
iterator(ListHelper<T> listHelper, int from, int to)

pack-priv abstract Iterator<T>
pack-priv abstract Iterator<T>
iterator(int from, int to)

public static <T> Optional<T>
reduce(ListHelper<T> listHelper, BinaryOperator<T> f)

public static <T, U> U
reduce(ListHelper<T> listHelper, U unit, BiFunction<U, T, U> f)

pack-priv abstract Optional<T>
pack-priv abstract <U> U
reduce(U unit, BiFunction<U, T, U> f)

public static <T> ListHelper<T>
remove(ListHelper<T> listHelper, T elem)

pack-priv abstract ListHelper<T>
remove(T elem)

public static <T> int
size(ListHelper<T> listHelper)

pack-priv abstract int
size()

public static <T> T[]
toArray(ListHelper<T> listHelper, IntFunction<T[]> allocator)

pack-priv abstract T[]
toArray(IntFunction<T[]> allocator)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ListHelperback to summary
private ListHelper()

Method Detail

addback to summary
public static <T> ListHelper<T> add(ListHelper<T> listHelper, T elem)
addback to summary
pack-priv abstract ListHelper<T> add(T elem)
forEachback to summary
public static <T> void forEach(ListHelper<T> listHelper, Consumer<? super T> f)
forEachback to summary
pack-priv abstract void forEach(Consumer<? super T> f)
forEachBetweenback to summary
public static <T> void forEachBetween(ListHelper<T> listHelper, int from, int to, Consumer<? super T> f)
forEachBetweenback to summary
pack-priv abstract void forEachBetween(int from, int to, Consumer<? super T> f)
getback to summary
public static <T> T get(ListHelper<T> listHelper, int index)
getback to summary
pack-priv abstract T get(int index)
isEmptyback to summary
public static <T> boolean isEmpty(ListHelper<T> listHelper)
iteratorback to summary
public static <T> Iterator<T> iterator(ListHelper<T> listHelper)
iteratorback to summary
public static <T> Iterator<T> iterator(ListHelper<T> listHelper, int from, int to)
iteratorback to summary
pack-priv abstract Iterator<T> iterator()
iteratorback to summary
pack-priv abstract Iterator<T> iterator(int from, int to)
reduceback to summary
public static <T> Optional<T> reduce(ListHelper<T> listHelper, BinaryOperator<T> f)
reduceback to summary
public static <T, U> U reduce(ListHelper<T> listHelper, U unit, BiFunction<U, T, U> f)
reduceback to summary
pack-priv abstract Optional<T> reduce(BinaryOperator<T> f)
reduceback to summary
pack-priv abstract <U> U reduce(U unit, BiFunction<U, T, U> f)
removeback to summary
public static <T> ListHelper<T> remove(ListHelper<T> listHelper, T elem)
removeback to summary
pack-priv abstract ListHelper<T> remove(T elem)
sizeback to summary
public static <T> int size(ListHelper<T> listHelper)
sizeback to summary
pack-priv abstract int size()
toArrayback to summary
public static <T> T[] toArray(ListHelper<T> listHelper, IntFunction<T[]> allocator)
toArrayback to summary
pack-priv abstract T[] toArray(IntFunction<T[]> allocator)
org.reactfx.util back to summary

private Class ListHelper.MultiElemHelper<T>

extends ListHelper<T>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final List<T>
private int

Constructor Summary

AccessConstructor and Description
pack-priv
MultiElemHelper(T... elems)

private

Method Summary

Modifier and TypeMethod and Description
pack-priv ListHelper<T>
add(T elem)

Implements abstract org.reactfx.util.ListHelper.add.

private ListHelper.MultiElemHelper<T>
copy()

pack-priv void
forEach(Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEach.

pack-priv void
forEachBetween(int from, int to, Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEachBetween.

pack-priv T
get(int index)

Implements abstract org.reactfx.util.ListHelper.get.

pack-priv Iterator<T>
pack-priv Iterator<T>
iterator(int from, int to)

Implements abstract org.reactfx.util.ListHelper.iterator.

pack-priv Optional<T>
pack-priv <U> U
reduce(U unit, BiFunction<U, T, U> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

pack-priv ListHelper<T>
remove(T elem)

Implements abstract org.reactfx.util.ListHelper.remove.

pack-priv int
size()

Implements abstract org.reactfx.util.ListHelper.size.

pack-priv T[]
toArray(IntFunction<T[]> allocator)

Implements abstract org.reactfx.util.ListHelper.toArray.

Inherited from org.reactfx.util.ListHelper:
addforEachforEachBetweengetisEmptyiteratoriteratorreducereduceremovesizetoArray

Field Detail

elemsback to summary
private final List<T> elems
iteratingback to summary
private int iterating

Constructor Detail

MultiElemHelperback to summary
pack-priv MultiElemHelper(T... elems)
Annotations
@SafeVarargs
MultiElemHelperback to summary
private MultiElemHelper(List<T> elems)

Method Detail

addback to summary
pack-priv ListHelper<T> add(T elem)

Implements abstract org.reactfx.util.ListHelper.add.

Annotations
@Override
copyback to summary
private ListHelper.MultiElemHelper<T> copy()
forEachback to summary
pack-priv void forEach(Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEach.

Annotations
@Override
forEachBetweenback to summary
pack-priv void forEachBetween(int from, int to, Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEachBetween.

Annotations
@Override
getback to summary
pack-priv T get(int index)

Implements abstract org.reactfx.util.ListHelper.get.

Annotations
@Override
iteratorback to summary
pack-priv Iterator<T> iterator()

Implements abstract org.reactfx.util.ListHelper.iterator.

Annotations
@Override
iteratorback to summary
pack-priv Iterator<T> iterator(int from, int to)

Implements abstract org.reactfx.util.ListHelper.iterator.

Annotations
@Override
reduceback to summary
pack-priv Optional<T> reduce(BinaryOperator<T> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

Annotations
@Override
reduceback to summary
pack-priv <U> U reduce(U unit, BiFunction<U, T, U> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

Annotations
@Override
removeback to summary
pack-priv ListHelper<T> remove(T elem)

Implements abstract org.reactfx.util.ListHelper.remove.

Annotations
@Override
sizeback to summary
pack-priv int size()

Implements abstract org.reactfx.util.ListHelper.size.

Annotations
@Override
toArrayback to summary
pack-priv T[] toArray(IntFunction<T[]> allocator)

Implements abstract org.reactfx.util.ListHelper.toArray.

Annotations
@Override
org.reactfx.util back to summary

private Class ListHelper.SingleElemHelper<T>

extends ListHelper<T>
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final T

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv ListHelper<T>
add(T elem)

Implements abstract org.reactfx.util.ListHelper.add.

pack-priv void
forEach(Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEach.

pack-priv void
forEachBetween(int from, int to, Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEachBetween.

pack-priv T
get(int index)

Implements abstract org.reactfx.util.ListHelper.get.

pack-priv Iterator<T>
pack-priv Iterator<T>
iterator(int from, int to)

Implements abstract org.reactfx.util.ListHelper.iterator.

pack-priv Optional<T>
pack-priv <U> U
reduce(U unit, BiFunction<U, T, U> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

pack-priv ListHelper<T>
remove(T elem)

Implements abstract org.reactfx.util.ListHelper.remove.

pack-priv int
size()

Implements abstract org.reactfx.util.ListHelper.size.

pack-priv T[]
toArray(IntFunction<T[]> allocator)

Implements abstract org.reactfx.util.ListHelper.toArray.

Inherited from org.reactfx.util.ListHelper:
addforEachforEachBetweengetisEmptyiteratoriteratorreducereduceremovesizetoArray

Field Detail

elemback to summary
private final T elem

Constructor Detail

SingleElemHelperback to summary
pack-priv SingleElemHelper(T elem)

Method Detail

addback to summary
pack-priv ListHelper<T> add(T elem)

Implements abstract org.reactfx.util.ListHelper.add.

Annotations
@Override
forEachback to summary
pack-priv void forEach(Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEach.

Annotations
@Override
forEachBetweenback to summary
pack-priv void forEachBetween(int from, int to, Consumer<? super T> f)

Implements abstract org.reactfx.util.ListHelper.forEachBetween.

Annotations
@Override
getback to summary
pack-priv T get(int index)

Implements abstract org.reactfx.util.ListHelper.get.

Annotations
@Override
iteratorback to summary
pack-priv Iterator<T> iterator()

Implements abstract org.reactfx.util.ListHelper.iterator.

Annotations
@Override
iteratorback to summary
pack-priv Iterator<T> iterator(int from, int to)

Implements abstract org.reactfx.util.ListHelper.iterator.

Annotations
@Override
reduceback to summary
pack-priv Optional<T> reduce(BinaryOperator<T> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

Annotations
@Override
reduceback to summary
pack-priv <U> U reduce(U unit, BiFunction<U, T, U> f)

Implements abstract org.reactfx.util.ListHelper.reduce.

Annotations
@Override
removeback to summary
pack-priv ListHelper<T> remove(T elem)

Implements abstract org.reactfx.util.ListHelper.remove.

Annotations
@Override
sizeback to summary
pack-priv int size()

Implements abstract org.reactfx.util.ListHelper.size.

Annotations
@Override
toArrayback to summary
pack-priv T[] toArray(IntFunction<T[]> allocator)

Implements abstract org.reactfx.util.ListHelper.toArray.

Annotations
@Override