public static class ObservableSetBase.BaseAddChange<T> extends SetChangeListener.Change<T>
Constructor and Description |
---|
BaseAddChange(ObservableSet<T> set,
T added) |
Modifier and Type | Method and Description |
---|---|
T |
getElementAdded() |
T |
getElementRemoved() |
String |
toString() |
boolean |
wasAdded() |
boolean |
wasRemoved() |
getSet
public BaseAddChange(@Nonnull ObservableSet<T> set, @Nonnull T added)
public boolean wasAdded()
wasAdded
in class SetChangeListener.Change<T>
public boolean wasRemoved()
wasRemoved
in class SetChangeListener.Change<T>
public T getElementAdded()
getElementAdded
in class SetChangeListener.Change<T>
public T getElementRemoved()
getElementRemoved
in class SetChangeListener.Change<T>