Top Methods
org.reactfx.collection

public Interface MaterializedListModification<E>

Additional top-level class in compilation unit: MaterializedListModificationImpl.

extends ListModificationLike<E>
Known Direct Implementers
org.reactfx.collection.MaterializedListModificationImpl
Imports
java.util.List, org.reactfx.util.Lists

Method Summary

Modifier and TypeMethod and Description
public static <E> MaterializedListModification<E>
create(int pos, List<? extends E> removed, List<? extends E> added)

Doesn't create defensive copies of the passed lists.

public List<? extends E>
public default int
getAddedSize()

Implements org.reactfx.collection.ListModificationLike.getAddedSize.

Returns the number of items added by this change.

public default MaterializedListModification<E>
trim()

Inherited from org.reactfx.collection.ListModificationLike:
getFromgetRemovedgetRemovedSizegetTo

Method Detail

createback to summary
public 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.

getAddedback to summary
public List<? extends E> getAdded()
getAddedSizeback to summary
public default int getAddedSize()

Implements org.reactfx.collection.ListModificationLike.getAddedSize.

Doc from org.reactfx.collection.ListModificationLike.getAddedSize.

Returns the number of items added by this change.

Annotations
@Override
trimback to summary
public default MaterializedListModification<E> trim()