Click or drag to resize

RankedMapTKey, TValueElementsFrom Method

Returns an enumerator that iterates over a range with the supplied lower bound.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public IEnumerable<KeyValuePair<TKey, TValue>> ElementsFrom(
	TKey lower
)

Parameters

lower
Type: TKey
Minimum key of the range.

Return Value

Type: IEnumerableKeyValuePairTKey, TValue
An enumerator for the specified range.
Exceptions
ExceptionCondition
InvalidOperationExceptionWhen the map was modified after the enumerator was created.
Remarks

If lower is present in the map, it will be included in the results.

Retrieving the initial item is a O(log n) operation. Retrieving each subsequent item is a O(1) operation.

See Also