ISortedSet

Description

interface Tinman.Core.Collections.ISortedSet<T>

Derived from

IBag<T>
ISortedSetConst<T>

Extended by

SortedSetBase abstract

Base interface for mutable sets that store their elements in order.

Public / Methods

CountValuesInRange


public method CountValuesInRange → (2)

from in : T

Start of range, inclusive.

to in : T

End of range, exclusive.

returns → int32

The values in the range.

Counts the values in this set that lie within the given range.

GetValuesInRange


public method GetValuesInRange → (2)

from in : T

Start of range, inclusive.

to in : T

End of range, exclusive.

returns → T [ ]

The number of values in the given range.

Returns the values in this set that lie within the given range.

RemoveMaximum


public method RemoveMaximum → ()

returns → T

The removed element.

Removes the maximum element from this set.

RemoveMinimum


public method RemoveMinimum → ()

returns → T

The removed element.

Removes the minimum element from this set.