T - key typeV - first map value typeU - second map value typepublic class MapDelta<T,V,U> extends Delta
| Modifier and Type | Method and Description |
|---|---|
static MapDelta |
compare(Delta parent,
java.util.Map oldMap,
java.util.Map newMap) |
static MapDelta |
compare(java.util.Map oldMap,
java.util.Map newMap)
Compare two maps with same key types.
|
Delta |
getChange(T key)
Get the difference for a given key
|
java.util.Map<T,Delta> |
getChanges()
Get all changes as a map where key is a key of the different items and a value is are
Delta instances
describing the changes. |
boolean |
isEmpty() |
void |
remove(T field) |
between, getNestedDelta, getParent, newValue, oldValue, registerInParentpublic java.util.Map<T,Delta> getChanges()
Delta instances
describing the changes.public static MapDelta compare(java.util.Map oldMap, java.util.Map newMap)
Delta for
more.oldMap - newMap - public boolean isEmpty()
public Delta getChange(T key)
key - public void remove(T field)