public final class ListChangeAccumulator<E> extends java.lang.Object implements ListModificationSequence<E>
| Constructor and Description |
|---|
ListChangeAccumulator() |
ListChangeAccumulator(QuasiListChange<E> change) |
| Modifier and Type | Method and Description |
|---|---|
ListChangeAccumulator<E> |
add(javafx.collections.ListChangeListener.Change<? extends E> change) |
ListChangeAccumulator<E> |
add(QuasiListChange<? extends E> change) |
ListChangeAccumulator<E> |
add(QuasiListModification<? extends E> mod) |
QuasiListChange<E> |
asListChange()
May be destructive for this object.
|
ListChangeAccumulator<E> |
asListChangeAccumulator()
May be destructive for this object.
|
ListChangeAccumulator<E> |
drop(int n) |
QuasiListChange<E> |
fetch() |
default int |
getModificationCount() |
java.util.List<QuasiListModification<? extends E>> |
getModifications() |
boolean |
isEmpty() |
default java.util.Iterator<M> |
iterator() |
public ListChangeAccumulator()
public ListChangeAccumulator(QuasiListChange<E> change)
public ListChangeAccumulator<E> asListChangeAccumulator()
ListModificationSequenceasListChangeAccumulator in interface ListModificationSequence<E>public QuasiListChange<E> asListChange()
ListModificationSequenceasListChange in interface ListModificationSequence<E>public java.util.List<QuasiListModification<? extends E>> getModifications()
public boolean isEmpty()
public QuasiListChange<E> fetch()
public ListChangeAccumulator<E> drop(int n)
public ListChangeAccumulator<E> add(QuasiListModification<? extends E> mod)
public ListChangeAccumulator<E> add(QuasiListChange<? extends E> change)
public ListChangeAccumulator<E> add(javafx.collections.ListChangeListener.Change<? extends E> change)
public java.util.Iterator<M> iterator()
iterator in interface java.lang.Iterable<M extends org.reactfx.collection.ListModificationLike<? extends E>>public int getModificationCount()