![]() | RankedMapTKey, TValueKeyCollection Class |
Namespace: Kaos.Collections
public sealed class KeyCollection : ICollection<TKey>, IEnumerable<TKey>, IEnumerable, ICollection, IReadOnlyCollection<TKey>
The RankedMapTKey, TValueKeyCollection generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | RankedMapTKey, TValueKeyCollection | Initializes a new collection that reflects the keys of a RankedMapTKey, TValue. |
Name | Description | |
---|---|---|
![]() | Count | Gets the number of keys in the collection. |
![]() | Item | Gets the key at the supplied index. |
Name | Description | |
---|---|---|
![]() | Contains | Determines whether the map contains the supplied key. |
![]() | CopyTo | Copies keys to a supplied array, starting at the supplied position. |
![]() | Distinct | Returns an enumerator that iterates thru the distinct map keys in sort order. |
![]() | ElementAt | Gets the key at the supplied index. |
![]() | ElementAtOrDefault | Gets the key at the supplied index or the default if the index is out of range. |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | First | Gets the minimum key in the map per the comparer. |
![]() ![]() | GetCount | Returns the number of elements with the supplied key in the map. |
![]() ![]() | GetDistinctCount | Returns the number of distinct keys in the map. |
![]() | GetEnumerator | Gets an enumerator that iterates thru the collection. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Gets the index of the first occurrence of supplied key. |
![]() | Last | Gets the maximum key in the map per the comparer. |
![]() | Reverse | Returns an enumerator that iterates thru the map keys in reverse order. |
![]() ![]() | Skip | Bypasses a supplied number of keys and yields the remaining keys. |
![]() | SkipWhile(FuncTKey, Boolean) |
Bypasses keys as long as a supplied condition is true and yields the remaining keys.
|
![]() | SkipWhile(FuncTKey, Int32, Boolean) |
Bypasses keys as long as a supplied index-based condition is true and yields the remaining keys.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetGreaterThan | Gets the least key greater than the supplied key. |
![]() | TryGetGreaterThanOrEqual | Gets the least key greater than or equal to the supplied key. |
![]() | TryGetLessThan | Gets the greatest key that is less than the supplied key. |
![]() | TryGetLessThanOrEqual | Gets the greatest key that is less than or equal to the supplied key. |
Name | Description | |
---|---|---|
![]() ![]() | ICollectionTKeyAdd | This implementation always throws a NotSupportedException. |
![]() ![]() | ICollectionTKeyClear | This implementation always throws a NotSupportedException. |
![]() ![]() | ICollectionTKeyContains | Determines whether the collection contains the supplied key. |
![]() ![]() | ICollectionCopyTo | Copies keys to a supplied array, starting at the supplied position. |
![]() ![]() | IEnumerableTKeyGetEnumerator | Gets an enumerator that iterates thru the collection. |
![]() ![]() | IEnumerableGetEnumerator | Gets an enumerator that iterates thru the collection. |
![]() ![]() | ICollectionTKeyIsReadOnly | Indicates that the collection is read-only. |
![]() ![]() | ICollectionIsSynchronized | Indicates that the collection is not thread safe. |
![]() ![]() | ICollectionTKeyRemove | This implementation always throws a NotSupportedException. |
![]() ![]() | ICollectionSyncRoot | Gets an object that can be used to synchronize access to the collection. |