Package com.sun.javafx.collections
Class NonIterableChange.SimpleRemovedChange<E>
java.lang.Object
javafx.collections.ListChangeListener.Change<E>
com.sun.javafx.collections.NonIterableChange<E>
com.sun.javafx.collections.NonIterableChange.SimpleRemovedChange<E>
- Enclosing class:
NonIterableChange<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.javafx.collections.NonIterableChange
NonIterableChange.GenericAddRemoveChange<E>, NonIterableChange.SimpleAddChange<E>, NonIterableChange.SimplePermutationChange<E>, NonIterableChange.SimpleRemovedChange<E>, NonIterableChange.SimpleUpdateChange<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAn immutable list of removed/replaced elements.boolean
Indicates if elements were removed during this change.Methods inherited from class com.sun.javafx.collections.NonIterableChange
checkState, getFrom, getPermutation, getTo, next, reset, toString
Methods inherited from class javafx.collections.ListChangeListener.Change
getAddedSize, getAddedSubList, getList, getPermutation, getRemovedSize, wasAdded, wasPermutated, wasReplaced, wasUpdated
-
Constructor Details
-
SimpleRemovedChange
-
-
Method Details
-
wasRemoved
public boolean wasRemoved()Description copied from class:ListChangeListener.Change
Indicates if elements were removed during this change. Note that using set will also produce a change with wasRemoved() returning true. SeeListChangeListener.Change.wasReplaced()
.- Overrides:
wasRemoved
in classListChangeListener.Change<E>
- Returns:
- true if something was removed from the list
-
getRemoved
Description copied from class:ListChangeListener.Change
An immutable list of removed/replaced elements. If no elements were removed from the list, an empty list is returned.- Specified by:
getRemoved
in classListChangeListener.Change<E>
- Returns:
- a list with all the removed elements
-