Eamon CS
3.1.0
|
Represents a generic interface of an ordered collection. More...
Public Member Functions | |
bool | TryGetValue (T equalValue, out T actualValue) |
Searches the collection for a given value and returns the equal value it finds, if any. More... | |
IEnumerable< T > | WhereGreaterOrEqual (T value) |
Get all items equal to or greater than the specified value, starting with the lowest index and moving forwards. More... | |
IEnumerable< T > | WhereLessOrEqualBackwards (T value) |
Get all items less than or equal to the specified value, starting with the highest index and moving backwards. More... | |
int | FirstIndexWhereGreaterThan (T value) |
Gets the index of the first item greater than the specified value. /// More... | |
int | LastIndexWhereLessThan (T value) |
Gets the index of the last item less than the specified key. More... | |
T | At (int index) |
Gets the item at the specified index. More... | |
void | RemoveAt (int index) |
Removes the item at the specified index. More... | |
IEnumerable< T > | ForwardFromIndex (int index) |
Get all items starting at the index, and moving forward. More... | |
IEnumerable< T > | BackwardFromIndex (int index) |
Get all items starting at the index, and moving backward. More... | |
Properties | |
IComparer< T > | Comparer [get] |
Gets the comparer used to order items in the collection. More... | |
bool | AllowDuplicates [get] |
Gets indication of whether the collection allows duplicate values. More... | |
Represents a generic interface of an ordered collection.
T | The type of elements in the collection. |
T Eamon.ThirdParty.ISortedCollection< T >.At | ( | int | index | ) |
Gets the item at the specified index.
Implemented in Eamon.ThirdParty.BTree< T >.
IEnumerable<T> Eamon.ThirdParty.ISortedCollection< T >.BackwardFromIndex | ( | int | index | ) |
Get all items starting at the index, and moving backward.
Implemented in Eamon.ThirdParty.BTree< T >.
int Eamon.ThirdParty.ISortedCollection< T >.FirstIndexWhereGreaterThan | ( | T | value | ) |
Gets the index of the first item greater than the specified value. ///
Implemented in Eamon.ThirdParty.BTree< T >.
IEnumerable<T> Eamon.ThirdParty.ISortedCollection< T >.ForwardFromIndex | ( | int | index | ) |
Get all items starting at the index, and moving forward.
Implemented in Eamon.ThirdParty.BTree< T >.
int Eamon.ThirdParty.ISortedCollection< T >.LastIndexWhereLessThan | ( | T | value | ) |
Gets the index of the last item less than the specified key.
Implemented in Eamon.ThirdParty.BTree< T >.
void Eamon.ThirdParty.ISortedCollection< T >.RemoveAt | ( | int | index | ) |
Removes the item at the specified index.
Implemented in Eamon.ThirdParty.BTree< T >.
bool Eamon.ThirdParty.ISortedCollection< T >.TryGetValue | ( | T | equalValue, |
out T | actualValue | ||
) |
Searches the collection for a given value and returns the equal value it finds, if any.
Implemented in Eamon.ThirdParty.BTree< T >.
IEnumerable<T> Eamon.ThirdParty.ISortedCollection< T >.WhereGreaterOrEqual | ( | T | value | ) |
Get all items equal to or greater than the specified value, starting with the lowest index and moving forwards.
Implemented in Eamon.ThirdParty.BTree< T >.
IEnumerable<T> Eamon.ThirdParty.ISortedCollection< T >.WhereLessOrEqualBackwards | ( | T | value | ) |
Get all items less than or equal to the specified value, starting with the highest index and moving backwards.
Implemented in Eamon.ThirdParty.BTree< T >.
|
get |
Gets indication of whether the collection allows duplicate values.
|
get |
Gets the comparer used to order items in the collection.