GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
Intersect<(Of <(<'K, V>)>)> Method (a, b)
Namespacesde.unika.ipd.grGen.libGrContainerHelperIntersect<(Of <<'(K, V>)>>)(Dictionary<(Of <<'(K, V>)>>), Dictionary<(Of <<'(K, V>)>>))
Creates a new dictionary containing all key/value pairs from a whose keys are also contained in b. If both dictionaries contain one key, the value from a takes precedence, in contrast to union.
Declaration Syntax
public static Dictionary<K, V> Intersect<K, V>(
	Dictionary<K, V> a,
	Dictionary<K, V> b
Generic Template Parameters
a (Dictionary<(Of <(<'K, V>)>)>)
A dictionary.
b (Dictionary<(Of <(<'K, V>)>)>)
Another dictionary of compatible type to a.
Return Value
A new dictionary containing all elements from a, which are also in b.

Assembly: libGr (Module: libGr) Version: (