Package org.reactfx.collection
Interface MaterializedListModification<E>
- All Superinterfaces:
ListModificationLike<E>
- All Known Implementing Classes:
MaterializedListModificationImpl
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> MaterializedListModification
<E> Doesn't create defensive copies of the passed lists.getAdded()
default int
Returns the number of items added by this change.default MaterializedListModification
<E> trim()
Methods inherited from interface org.reactfx.collection.ListModificationLike
getFrom, getRemoved, getRemovedSize, getTo
-
Method Details
-
create
static <E> MaterializedListModification<E> create(int pos, List<? extends E> removed, List<? extends E> added) Doesn't create defensive copies of the passed lists. Therefore, they must not be modified later. -
getAdded
-
getAddedSize
default int getAddedSize()Description copied from interface:ListModificationLike
Returns the number of items added by this change.- Specified by:
getAddedSize
in interfaceListModificationLike<E>
-
trim
-