 | RankedMap<TKey, TValue>.TryGetGreaterThan Method |
Gets an element with the least key greater than the supplied key.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntaxpublic bool TryGetGreaterThan(
TKey getKey,
out KeyValuePair<TKey, TValue> keyValuePair
)
Parameters
- getKey
- Type: TKey
The key to use for comparison. - keyValuePair
- Type: System.Collections.Generic.KeyValuePair<TKey, TValue>
The actual element if found; otherwise contains defaults.
Return Value
Type:
Booleantrue if element with key greater than
getKey is found; otherwise
false.
See Also