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 class
Represents an elementary change done to anObservableSetMultimap
, related to a single key but to potentially multiple values. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onChanged
(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.Change
object representing the changes that were performed on the sourceObservableSetMultimap
.
-