apply Diff
This method call calculateDiff with strict mode strictComparison and then apply differences to this mutable list
This method call calculateDiff and then apply differences to this mutable list
fun <K, V> MutableMap<K, V>.applyDiff(from: Map<K, V>, compareFun: (K, V, V) -> Boolean): MapDiff<K, V>
Will apply changes with from map into this one
Return
Parameters
compare Fun
Will be used to determine changed values
fun <K, V> MutableMap<K, V>.applyDiff(from: Map<K, V>, strictComparison: Boolean = false): MapDiff<K, V>
Will apply changes with from map into this one
Return
Parameters
strict Comparison
If true, will use strict (===) comparison for the values' comparison. Otherwise, standard equals
will be used