Interface SetMultimapChangeListener<K,V>
- Type Parameters:
K- The key type of theObservableSetMultimap.V- The value type of theObservableSetMultimap.
public interface SetMultimapChangeListener<K,V>
A
SetMultimapChangeListener is the notification target for changes
related to an ObservableSetMultimap.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRepresents an elementary change done to anObservableSetMultimap, related to a single key but to potentially multiple values. -
Method Summary
Modifier and TypeMethodDescriptionvoidonChanged(SetMultimapChangeListener.Change<? extends K, ? extends V> change) Called after a change has been made to anObservableSetMultimap.
-
Method Details
-
onChanged
Called after a change has been made to anObservableSetMultimap. This method is called whenever a change to a single key is performed. In case of complex operation likeMultimap.clear()orMultimap.putAll(Object, Iterable)multiple invocations will occur.- Parameters:
change- ASetMultimapChangeListener.Changeobject representing the changes that were performed on the sourceObservableSetMultimap.
-