| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private int | |
| private static final int[] | |
| private int | |
| private boolean | |
| private boolean | |
| private final List | |
| private boolean | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | MultipleAdditionAndRemovedChange(List<E> addedElements, List<E> removedElements, ObservableList<E> list)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public int | getFrom()
Implements abstract javafx. If |
| protected int[] | getPermutation()
Implements abstract javafx. If this change is a permutation, it returns an integer array that describes the permutation. |
| public List | getRemoved()
Implements abstract javafx. An immutable list of removed/replaced elements. |
| public int | getTo()
Implements abstract javafx. The end of the change interval. |
| public boolean | next()
Implements abstract javafx. Goes to the next change. |
| public void | reset()
Implements abstract javafx. Resets to the initial stage. |
| public boolean | wasAdded()
Overrides javafx. Indicates if elements were added during this change. |
| public boolean | wasRemoved()
Overrides javafx. Indicates if elements were removed during this change. |
| addedElements | back to summary |
|---|---|
| private final List<E> addedElements | |
| addedIndex | back to summary |
|---|---|
| private int addedIndex | |
| EMPTY_PERM | back to summary |
|---|---|
| private static final int[] EMPTY_PERM | |
| from | back to summary |
|---|---|
| private int from | |
| invalid | back to summary |
|---|---|
| private boolean invalid | |
| iteratingThroughAdded | back to summary |
|---|---|
| private boolean iteratingThroughAdded | |
| removedElements | back to summary |
|---|---|
| private final List<E> removedElements | |
| returnedRemovedElements | back to summary |
|---|---|
| private boolean returnedRemovedElements | |
| to | back to summary |
|---|---|
| private int to | |
| MultipleAdditionAndRemovedChange | back to summary |
|---|---|
| public MultipleAdditionAndRemovedChange(List<E> addedElements, List<E> removedElements, ObservableList<E> list) | |
| checkState | back to summary |
|---|---|
| private void checkState() | |
| getFrom | back to summary |
|---|---|
| public int getFrom() Implements abstract javafx. Doc from javafx. If
| |
| getPermutation | back to summary |
|---|---|
| protected int[] getPermutation() Implements abstract javafx. Doc from javafx. If this change is a permutation, it returns an integer array
that describes the permutation.
This array maps directly from the previous indexes to the new ones.
This method is not publicly accessible and therefore can return an array safely.
The 0 index of the array corresponds to index
| |
| getRemoved | back to summary |
|---|---|
| public List Implements abstract javafx. Doc from javafx. An immutable list of removed/replaced elements. If no elements were removed from the list, an empty list is returned.
| |
| getTo | back to summary |
|---|---|
| public int getTo() Implements abstract javafx. Doc from javafx. The end of the change interval.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements abstract javafx. Doc from javafx. Goes to the next change.
The Change instance, in its initial state, is invalid and requires a call to
| |
| reset | back to summary |
|---|---|
| public void reset() Implements abstract javafx. Doc from javafx. Resets to the initial stage. After this call,
| |
| wasAdded | back to summary |
|---|---|
| public boolean wasAdded() Overrides javafx. Doc from javafx. Indicates if elements were added during this change.
| |
| wasRemoved | back to summary |
|---|---|
| public boolean wasRemoved() Overrides javafx. Doc from javafx. Indicates if elements were removed during this change.
Note that using set will also produce a change with
| |