mergingAny
inline fun <K, V1, V2> mergingAny(map1: Map<out K, V1>, map2: Map<out K, V2>, operation1: (Map.Entry<K, V1>) -> Boolean, operation2: (Map.Entry<K, V2>) -> Boolean, operationMerge: (key: K, value1: V1, value2: V2) -> Boolean): Boolean(source)
Returns false if:
for every entry
eof map1 which key does not appear in map2 result of operation1(e)isfalse,for every entry
eof map2 which key does not appear in map1 result of operation2(e)isfalse,for every key
kappearing in map2 withv1and in map2 withv2result of operationMerge(k, v1, v2)isfalse. Returnstrueotherwise.
Parameters
map1
the first map to test with another.
map2
the second map to test with another.