K - The key type of the ObservableSetMultimap.V - The value type of the ObservableSetMultimap.public interface SetMultimapChangeListener<K,V>
SetMultimapChangeListener is the notification target for changes
related to an ObservableSetMultimap.| Modifier and Type | Interface and Description |
|---|---|
static class |
SetMultimapChangeListener.Change<K,V>
Represents an elementary change done to an
ObservableSetMultimap,
related to a single key but to potentially multiple values. |
| Modifier and Type | Method and Description |
|---|---|
void |
onChanged(SetMultimapChangeListener.Change<? extends K,? extends V> change)
Called after a change has been made to an
ObservableSetMultimap. |
void onChanged(SetMultimapChangeListener.Change<? extends K,? extends V> change)
ObservableSetMultimap.
This method is called whenever a change to a single key is performed. In
case of complex operation like Multimap.clear() or
Multimap.putAll(Object, Iterable) multiple
invocations will occur.change - A SetMultimapChangeListener.Change object representing the changes that were
performed on the source ObservableSetMultimap.Copyright (c) 2014 itemis AG and others. All rights reserved.