org.mapdb
Interface Bind.MapListener<K,V>
- Type Parameters:
K - key type in mapV - value type in map
- Enclosing class:
- Bind
public static interface Bind.MapListener<K,V>
Listener called when `Map` is modified.
|
Method Summary |
void |
update(K key,
V oldVal,
V newVal)
Callback method called after `Map` was modified. |
update
void update(K key,
V oldVal,
V newVal)
- Callback method called after `Map` was modified.
It is called on insert, update or delete.
MapDB collections do not support null keys or values.
Null parameter may be than used to indicate operation:
- Parameters:
key - key in mapoldVal - old value in map (if any, null on inserts)newVal - new value in map (if any, null on deletes)
Copyright © 2014. All Rights Reserved.