public static class ForestChange.Remove extends ForestChange
ForestChange.Add, ForestChange.Move, ForestChange.Remove, ForestChange.Reorder, ForestChange.Visitor
Constructor and Description |
---|
Remove(LongList removedRows)
Constructs "remove" change of the given rows.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(ForestChange.Visitor visitor)
Apply the change to the visitor
|
void |
apply(ArrayForest forest)
Given mutable forest, apply the change to it.
|
boolean |
equals(Object o) |
LongList |
getRemovedRows()
Returns the removed rows.
|
int |
hashCode() |
String |
toString() |
add, move, remove, reorder
public Remove(@NotNull LongList removedRows)
@NotNull public LongList getRemovedRows()
public void apply(@NotNull ArrayForest forest)
ForestChange
apply
in class ForestChange
forest
- forest to changepublic void accept(ForestChange.Visitor visitor)
ForestChange
accept
in class ForestChange
visitor
- receiver of the call based on the type of this changeCopyright © 2024 Tempo Software. All Rights Reserved.