Package eu.bandm.tools.util.java
Class IncrementalMap.Change<K,V,M>
java.lang.Object
eu.bandm.tools.util.java.IncrementalMap.Change<K,V,M>
- Type Parameters:
K- the type of map keysV- the type of map valuesM- the type of maps
- Enclosing class:
IncrementalMap<K,V>
A report on an incremental map update.
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the key whose associated value has been updated.Returns the new map after the update.Returns the new value that has replaced an old one.Returns the old value that has been replaced by a new one.
-
Method Details
-
getKey
Returns the key whose associated value has been updated.- Returns:
- the key whose associated value has been updated
-
getOldValue
Returns the old value that has been replaced by a new one.- Returns:
- the old value that has been replaced by a new one, or
nullif there had been none
-
getNewValue
Returns the new value that has replaced an old one.- Returns:
- the new value that has replaced an old one, or
nullif the key has been removed
-
getNewMap
Returns the new map after the update.- Returns:
- the new map after the update
-