Interface MultisetChangeListener<E>
-
- Type Parameters:
E- The element type of theObservableMultiset.
public interface MultisetChangeListener<E>AMultisetChangeListeneris the notification target for changes related to anObservableMultiset.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMultisetChangeListener.Change<E>Represents an atomic change done to anObservableMultiset, i.e. a change resulting from a single method invocation on anObservableMultiset.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChanged(MultisetChangeListener.Change<? extends E> change)Called after an atomic change has been made to anObservableMultiset.
-
-
-
Method Detail
-
onChanged
void onChanged(MultisetChangeListener.Change<? extends E> change)
Called after an atomic change has been made to anObservableMultiset. Each call to a modifying method ofObservableMultisetwill lead to exactly one invocation, which may internally comprise several elementary sub-changes.- Parameters:
change- AMultisetChangeListener.Changeobject representing an atomic change that was performed on the sourceObservableSetMultimap.
-
-