Top Fields Constructors Methods
org.reactfx.collection

pack-priv final Class MaterializedListModificationImpl<E>

Located in compilation unit of org.reactfx.collection.MaterializedListModification.

extends Object
implements MaterializedListModification<E>
Class Inheritance
All Implemented Interfaces
org.reactfx.collection.MaterializedListModification, org.reactfx.collection.ListModificationLike

Field Summary

Modifier and TypeField and Description
private final List<? extends E>
private final int
private final List<? extends E>

Constructor Summary

AccessConstructor and Description
pack-priv
MaterializedListModificationImpl(int from, List<? extends E> removed, List<? extends E> added)

Method Summary

Modifier and TypeMethod and Description
public List<? extends E>
public int
getFrom()

Implements org.reactfx.collection.ListModificationLike.getFrom.

Returns the position in the list where this change occurred.

public List<? extends E>
getRemoved()

Implements org.reactfx.collection.ListModificationLike.getRemoved.

Returns an immutable list of elements removed by this change.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

addedback to summary
private final List<? extends E> added
fromback to summary
private final int from
removedback to summary
private final List<? extends E> removed

Constructor Detail

MaterializedListModificationImplback to summary
pack-priv MaterializedListModificationImpl(int from, List<? extends E> removed, List<? extends E> added)

Method Detail

getAddedback to summary
public List<? extends E> getAdded()

Implements org.reactfx.collection.MaterializedListModification.getAdded.

Annotations
@Override
getFromback to summary
public int getFrom()

Implements org.reactfx.collection.ListModificationLike.getFrom.

Doc from org.reactfx.collection.ListModificationLike.getFrom.

Returns the position in the list where this change occurred.

Annotations
@Override
getRemovedback to summary
public List<? extends E> getRemoved()

Implements org.reactfx.collection.ListModificationLike.getRemoved.

Doc from org.reactfx.collection.ListModificationLike.getRemoved.

Returns an immutable list of elements removed by this change. Before the change occurred, the first element of the returned list was at index getFrom() in the original list. If no elements were removed by this change, returns an empty list. The size of the returned list is equal to the value returned by getRemovedSize().

Annotations
@Override