RankedSetT Methods |
The RankedSetT generic type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds an item to the set and returns a success indicator. | |
Clear | Removes all items from the set. | |
Contains | Determines whether the set contains the supplied item. | |
CopyTo(T) | Copies the set to a compatible array, starting at the beginning of the array. | |
CopyTo(T, Int32) | Copies the set to a compatible array, starting at the supplied position. | |
CopyTo(T, Int32, Int32) | Copies a supplied number of items to a compatible array, starting at the supplied position. | |
CreateSetComparer | Returns an equality comparer that can be used to create a collection that contains sets. | |
CreateSetComparer(IEqualityComparerT) | Returns an equality comparer using a supplied comparer that can be used to create a collection that contains sets. | |
ElementAt | Gets the item at the supplied index. | |
ElementAtOrDefault | Gets the item at the supplied index or the default if the index is out of range. | |
ElementsBetween | Returns an enumerator that iterates over a range with the supplied bounds. | |
ElementsBetweenIndexes | Returns an enumerator that iterates over a range with the supplied index bounds. | |
ElementsFrom | Returns an enumerator that iterates over a range with the supplied lower bound. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
ExceptWith | Removes all items in the supplied collection from the set. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
First | Gets the minimum item in the set per the comparer. | |
GetEnumerator | Returns an enumerator that iterates thru the set. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Returns the data needed to serialize the set. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Gets the index of the supplied item. | |
IntersectWith | Removes all items that are not in a supplied collection. | |
IsProperSubsetOf | Determines whether the set is a proper subset of the supplied collection. | |
IsProperSupersetOf | Determines whether the set is a proper superset of the supplied collection. | |
IsSubsetOf | Determines whether the set is a subset of the supplied collection. | |
IsSupersetOf | Determines whether a set is a superset of the supplied collection. | |
Last | Gets the maximum item in the set per the comparer. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialization | Implements the deserialization callback and raises the deserialization event when completed. | |
Overlaps | Determines whether the set and a supplied collection share common items. | |
Remove | Removes the supplied item from the set. | |
RemoveAt | Removes the item at the supplied index from the set. | |
RemoveRange | Removes an index range of items from the set. | |
RemoveWhere | Removes all items that match the condition defined by the supplied predicate from the set. | |
Replace(T) | Replace an item if present. | |
Replace(T, Boolean) | Replace an item or optionally add it if missing. | |
Reverse | Returns an IEnumerable that iterates thru the set in reverse order. | |
SetEquals | Determines whether the set and the supplied collection contain the same items. | |
Skip | Bypasses a supplied number of items and yields the remaining items. | |
SkipWhile(FuncT, Boolean) |
Bypasses elements as long as a supplied condition is true and yields the remaining items.
| |
SkipWhile(FuncT, Int32, Boolean) |
Bypasses elements as long as a supplied index-based condition is true and yields the remaining items.
| |
SymmetricExceptWith | Modifies the set so that it contains only items that are present either in itself or in the supplied collection, but not both. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGet | Gets the actual item for the supplied search item. | |
TryGetGreaterThan | Gets the least item greater than the supplied item. | |
TryGetGreaterThanOrEqual | Gets the least item greater than or equal to the supplied item. | |
TryGetLessThan | Gets the greatest item that is less than the supplied item. | |
TryGetLessThanOrEqual | Gets the greatest item that is less than or equal to the supplied item. | |
UnionWith | Add all items in other to this set that are not already in this set. |
Name | Description | |
---|---|---|
ICollectionTAdd | Adds an item to the set. | |
ICollectionCopyTo | Copies the set to a compatible array, starting at the supplied array index. | |
IEnumerableTGetEnumerator | Returns an enumerator that iterates thru the set. | |
IEnumerableGetEnumerator | Returns an enumerator that iterates thru the collection. | |
ISerializableGetObjectData | Returns the data needed to serialize the set. | |
IDeserializationCallbackOnDeserialization | Implements the deserialization callback and raises the deserialization event when completed. |