public interface MapDelegate<K,V> extends Map<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(MapDelegateEventListener<K,V> listener)
Adds the specified listener to the map which will be notified whenever the mappings in the map are changed.
|
void |
close()
Closes the map.
|
void |
removeListener(MapDelegateEventListener<K,V> listener)
Removes the specified listener from the map such that it will no longer receive change notifications.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesvoid addListener(MapDelegateEventListener<K,V> listener)
listener - listener to register for eventsvoid removeListener(MapDelegateEventListener<K,V> listener)
listener - listener to deregister for eventsvoid close()
Copyright © 2013–2018. All rights reserved.