Interface SetMultimapChangeListener<K,V>
-
- Type Parameters:
K
- The key type of theObservableSetMultimap
.V
- The value type of theObservableSetMultimap
.
public interface SetMultimapChangeListener<K,V>
ASetMultimapChangeListener
is the notification target for changes related to anObservableSetMultimap
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SetMultimapChangeListener.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 void
onChanged(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.Change
object representing the changes that were performed on the sourceObservableSetMultimap
.
-
-