|
||||||||||
| 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, org.apache.myfaces.trinidad.util.CollectionUtils.MapMutationHooks) | Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 changed
void removeNotify(Map<K,V> map,
Object key)
map - Map the removal occurred onkey - key of entry that has been removedvoid clearNotify(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 | |||||||||