K
- the type of the keys of the Map that MapMutationHooks are associated withV
- the type of the values of the Map that MapMutationHooks are associated withpublic static interface CollectionUtils.MapMutationHooks<K,V>
Modifier and Type | Method and Description |
---|---|
void |
clearNotify(Map<K,V> map)
Called when all entries are removed from the Map associated with the MapMutationHooks
|
void |
removeNotify(Map<K,V> map,
Object key)
Called when an entry is removed from the associated Map of the MapMutationHooks
|
void |
writeNotify(Map<K,V> map,
K key,
V value)
Called when the associated Map of the MapMutationHooks is written to
|
void writeNotify(Map<K,V> map, K key, V value)
map
- Map the write occurred onkey
- key of entry that has changedvalue
- value of entry that has changedvoid removeNotify(Map<K,V> map, Object key)
map
- Map the removal occurred onkey
- key of entry that has been removedCopyright © 2001-2016 The Apache Software Foundation. All Rights Reserved.