CircularSortedListTKey, TValueContainsKey Method

Determines whether the CircularSortedListTKey, TValue contains an element with the specified key.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public bool ContainsKey(
	TKey key
)

Parameters

key  TKey
The key to locate in the CircularSortedListTKey, TValue.

Return Value

Boolean
, if the CircularSortedListTKey, TValue contains an element with the key; otherwise, .

Implements

IDictionaryTKey, TValueContainsKey(TKey)
IReadOnlyDictionaryTKey, TValueContainsKey(TKey)

Remarks

This method is an O(log n) operation, where n is Count.

Exceptions

See Also