RankedSetTElementsBetween Method |
Namespace: Kaos.Collections
public IEnumerable<T> ElementsBetween( T lower, T upper )
Exception | Condition |
---|---|
InvalidOperationException | When the set was modified after the enumerator was created. |
If either lower or upper are present in the set, they 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.