Click or drag to resize

RankedBagTTryGetLessThan Method

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

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool TryGetLessThan(
	T getItem,
	out T item
)

Parameters

getItem
Type: T
The item to use for comparison.
item
Type: T
The actual item if found; otherwise the default.

Return Value

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