|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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>
Interface for trapping mutations to a Map.
CollectionUtils.newMutationHookedMap(java.util.Map<K, V>, org.apache.myfaces.trinidad.util.CollectionUtils.MapMutationHooks<K, V>)| Method Summary | |
|---|---|
void |
clearNotify(java.util.Map<K,V> map)Called when all entries are removed from the Map associated with the MapMutationHooks |
void |
removeNotify(java.util.Map<K,V> map, java.lang.Object key)Called when an entry is removed from the associated Map of the MapMutationHooks |
void |
writeNotify(java.util.Map<K,V> map, K key, V value)Called when the associated Map of the MapMutationHooks is written to |
| Method Detail |
|---|
void writeNotify(java.util.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 changed
void removeNotify(java.util.Map<K,V> map,
java.lang.Object key)
map - Map the removal occurred onkey - key of entry that has been removedvoid clearNotify(java.util.Map<K,V> map)
map - Map the clear occurred on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.