IReadOnlyMap<TKey,TValue>.Contains(TKey,TValue) Method

Determines whether the map contains the specified key/value pair.

Namespace: Spring.Collections
public
 function Contains(const key: TKey; const value: TValue): Boolean;

Parameters

key
Type: TKey

The key of the pair to locate in the map.

value
Type: TValue

The value of the pair to locate in the map.

Return Value

Type: Boolean

True if the map contains a pair with the specified key and value; otherwise False.