Interface MultisetChangeListener<E>
- Type Parameters:
E- The element type of theObservableMultiset.
public interface MultisetChangeListener<E>
A
MultisetChangeListener is the notification target for changes
related to an ObservableMultiset.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents an atomic change done to anObservableMultiset, i.e. a change resulting from a single method invocation on anObservableMultiset. -
Method Summary
Modifier and TypeMethodDescriptionvoidonChanged(MultisetChangeListener.Change<? extends E> change) Called after an atomic change has been made to anObservableMultiset.
-
Method Details
-
onChanged
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.
-