Click or drag to resize

ContainerHelperIntersectChangedK, V Method (DictionaryK, V, DictionaryK, V)

Removes all key/value pairs from set/map a whose keys are not also contained in b. If both dictionaries contain one key, the value from a takes precedence, in contrast to union.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public static bool IntersectChanged<K, V>(
	Dictionary<K, V> a,
	Dictionary<K, V> b
)

Parameters

a
Type: System.Collections.GenericDictionaryK, V
A dictionary to change.
b
Type: System.Collections.GenericDictionaryK, V
Another dictionary of compatible type to a.

Type Parameters

K
V

Return Value

Type: Boolean
A truth value telling whether at least one element was changed in a
See Also