Map Diff
data class MapDiff<K, V> constructor(val removed: Map<K, V>, val changed: Map<K, Pair<V, V>>, val added: Map<K, V>)
Contains diff based on the comparison of objects with the same K.
Parameters
removed
Contains map with keys removed from parent map
changed
Contains map with keys values changed new map in comparison with old one
added
Contains map with new keys and values
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Reverse this. Result will contain MapDiff.added on MapDiff.removed (and vice-verse), all the MapDiff.changed values will be reversed too