AbstractSieve.DefaultUpdateStrategypublic static interface AbstractSieve.UpdateStrategy<K,V>
| Modifier and Type | Method | Description |
|---|---|---|
V |
update(K key,
V newValue,
V oldValue) |
Computes the new value to be put in the store when a duplicate key is found.
|
V update(K key, V newValue, V oldValue)
key - the key that already appears in the store (to be more precise: its hash already appears in the store).newValue - the new value associated with the key.oldValue - the old value present in the store associated with the key.