Interface IMapChangeListener<K,V>
-
- Type Parameters:
K
- type of the keys to the mapV
- type of the values in the map
- All Superinterfaces:
IObservablesListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IMapChangeListener<K,V> extends IObservablesListener
Listener for changes to observable maps.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handleMapChange(MapChangeEvent<? extends K,? extends V> event)
Handle a change an observable map.
-
-
-
Method Detail
-
handleMapChange
void handleMapChange(MapChangeEvent<? extends K,? extends V> event)
Handle a change an observable map. The given event object must only be used locally in this method because it may be reused for other change notifications. The diff object referenced by the event is immutable and may be used non-locally.- Parameters:
event
- the event
-
-