Top Description Methods
org.reactfx.collection

public Interface ProperLiveList<E>

extends LiveList<E>, ProperObservable<LiveList.Observer<? super E, ?>, QuasiListChange<? extends E>>
Known Direct Implementers
org.reactfx.collection.SuspendableListWrapper, org.reactfx.collection.LiveListBase
Imports
java.util.Collections, .List, org.reactfx.ObservableBase, .ProperObservable, org.reactfx.util.Lists, .NotificationAccumulator

Trait to be mixed into ObservableBase to obtain default implementation of some LiveList methods and get additional helper methods for implementations of proper LiveList.

Method Summary

Modifier and TypeMethod and Description
public default QuasiListModification<E>
public default boolean
public default int
public default NotificationAccumulator<LiveList.Observer<? super E, ?>, QuasiListChange<? extends E>, ?>
public default String
public static <E> QuasiListModification<E>
elemInsertion(int index)

public static <E> QuasiListModification<E>
elemRemoval(int index, E removed)

public static <E> QuasiListModification<E>
elemReplacement(int index, E replaced)

public default void
public default void
fireElemInsertion(int index)

public default void
fireElemRemoval(int index, E removed)

public default void
fireElemReplacement(int index, E replaced)

public default void
public default void
fireRangeInsertion(int index, int size)

public default void
fireRemoveRange(int index, List<E> removed)

public static <E> QuasiListModification<E>
rangeInsertion(int index, int size)

public static <E> QuasiListModification<E>
rangeRemoval(int index, List<E> removed)

Inherited from org.reactfx.collection.LiveList:
addChangeObserveraddListeneraddListeneraddModificationObserveraddQuasiChangeObserveraddQuasiModificationObserverchangeschangesOfcollapsecollapsecollapseDynamiccollapseDynamicmapmapmapDynamicmapDynamicmemoizememoizemodificationsobserveChangesobserveChangesobserveModificationsobserveQuasiChangesobserveQuasiChangesobserveQuasiModificationspinquasiChangesquasiChangesOfquasiModificationsreducereducereduceRangereduceRangeremoveChangeObserverremoveListenerremoveListenerremoveModificationObserverremoveQuasiChangeObserverremoveQuasiModificationObserversizeOfsizePropertysuspendablesuspendablewrapVal
Inherited from org.reactfx.ProperObservable:
notifyObservers

Method Detail

contentReplacementback to summary
public default QuasiListModification<E> contentReplacement(List<E> removed)
defaultEqualsback to summary
public default boolean defaultEquals(Object o)

Overrides default org.reactfx.ProperObservable.defaultEquals.

Annotations
@Override
defaultHashCodeback to summary
public default int defaultHashCode()

Overrides default org.reactfx.ProperObservable.defaultHashCode.

Annotations
@Override
defaultNotificationAccumulatorback to summary
public default NotificationAccumulator<LiveList.Observer<? super E, ?>, QuasiListChange<? extends E>, ?> defaultNotificationAccumulator()

Implements org.reactfx.ProperObservable.defaultNotificationAccumulator.

Annotations
@Override
defaultToStringback to summary
public default String defaultToString()

Overrides default org.reactfx.ProperObservable.defaultToString.

Annotations
@Override
elemInsertionback to summary
public static <E> QuasiListModification<E> elemInsertion(int index)
elemRemovalback to summary
public static <E> QuasiListModification<E> elemRemoval(int index, E removed)
elemReplacementback to summary
public static <E> QuasiListModification<E> elemReplacement(int index, E replaced)
fireContentReplacementback to summary
public default void fireContentReplacement(List<E> removed)
fireElemInsertionback to summary
public default void fireElemInsertion(int index)
fireElemRemovalback to summary
public default void fireElemRemoval(int index, E removed)
fireElemReplacementback to summary
public default void fireElemReplacement(int index, E replaced)
fireModificationback to summary
public default void fireModification(QuasiListModification<? extends E> mod)
fireRangeInsertionback to summary
public default void fireRangeInsertion(int index, int size)
fireRemoveRangeback to summary
public default void fireRemoveRange(int index, List<E> removed)
rangeInsertionback to summary
public static <E> QuasiListModification<E> rangeInsertion(int index, int size)
rangeRemovalback to summary
public static <E> QuasiListModification<E> rangeRemoval(int index, List<E> removed)