Click or drag to resize

RankedMapTKey, TValueKeyCollectionTryGetLessThan Method

Gets the greatest key that is less than the supplied key.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGetLessThan(
	TKey getKey,
	out TKey key
)

Parameters

getKey
Type: TKey
The key to use for comparison.
key
Type: TKey
The actual key if found; otherwise the default.

Return Value

Type: Boolean
true if key less than getKey found; otherwise false.
See Also