Click or drag to resize

RankedMapTKey, TValueTryGetGreaterThanOrEqual Method

Gets an element with the least key greater than or equal to the supplied key.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGetGreaterThanOrEqual(
	TKey getKey,
	out KeyValuePair<TKey, TValue> keyValuePair
)

Parameters

getKey
Type: TKey
The key to use for comparison.
keyValuePair
Type: System.Collections.GenericKeyValuePairTKey, TValue
The actual element if found; otherwise contains defaults.

Return Value

Type: Boolean
true if element with key greater than or equal to getKey is found; otherwise false.
See Also