Interface SetMultimapChangeListener<K,V>
-
- Type Parameters:
K- The key type of theObservableSetMultimap.V- The value type of theObservableSetMultimap.
public interface SetMultimapChangeListener<K,V>ASetMultimapChangeListeneris the notification target for changes related to anObservableSetMultimap.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classSetMultimapChangeListener.Change<K,V>Represents an elementary change done to anObservableSetMultimap, related to a single key but to potentially multiple values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChanged(SetMultimapChangeListener.Change<? extends K,? extends V> change)Called after a change has been made to anObservableSetMultimap.
-
-
-
Method Detail
-
onChanged
void onChanged(SetMultimapChangeListener.Change<? extends K,? extends V> change)
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.
-
-