Class ListChangeAccumulator<E>
java.lang.Object
org.reactfx.collection.ListChangeAccumulator<E>
- All Implemented Interfaces:
Iterable<QuasiListModification<? extends E>>, ListModificationSequence<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(QuasiListChange<? extends E> change) add(QuasiListModification<? extends E> mod) May be destructive for this object.May be destructive for this object.drop(int n) fetch()default intList<QuasiListModification<? extends E>> booleanisEmpty()default Iterator<QuasiListModification<? extends E>> iterator()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ListChangeAccumulator
public ListChangeAccumulator() -
ListChangeAccumulator
-
-
Method Details
-
asListChangeAccumulator
Description copied from interface:ListModificationSequenceMay be destructive for this object. Therefore, this object should not be used after the call to this method, unless stated otherwise by the implementing class/interface.- Specified by:
asListChangeAccumulatorin interfaceListModificationSequence<E>
-
asListChange
Description copied from interface:ListModificationSequenceMay be destructive for this object. Therefore, this object should not be used after the call to this method, unless stated otherwise by the implementing class/interface.- Specified by:
asListChangein interfaceListModificationSequence<E>
-
getModifications
-
isEmpty
public boolean isEmpty() -
fetch
-
drop
-
add
-
add
-
add
public ListChangeAccumulator<E> add(javafx.collections.ListChangeListener.Change<? extends E> change) -
iterator
-
getModificationCount
default int getModificationCount()
-