The Subset type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Subset | Overloaded. |
Methods
| Name | Description | |
|---|---|---|
| Add | Overloaded. | |
| Append |
Adds an index to this subset.
| |
| Clone |
Creates a deep copy of this Subset.
| |
| Decrement |
Decrements the indices in a subset.
| |
| Equals |
Tests for equality of this subset and another subset. Two subsets are equal
if they have the same length and all indices are equal.
(Overrides Object..::.Equals(Object).) | |
| Get |
Safely gets the index at the given position by looping around the end of
subset if index exceeds Length.
| |
| GetEnumerator |
Creates an IEnumerator out of the indices in this subset.
| |
| GetGroupings | Overloaded. | |
| GetHashCode |
Returns an integer hash code for this subset.
(Overrides Object..::.GetHashCode()()().) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Increment |
Increments the indices in a subset.
| |
| Intersection |
Returns the intersection of two subsets.
| |
| Negate |
Negates a subset.
| |
| Remove |
Removes the first occurence of an index from this subset.
| |
| Repeat |
Repeats this subset until the given length is reached.
| |
| Reverse |
Reverse the indices of this subset.
| |
| Sample | Overloaded. | |
| Split | Overloaded. | |
| Subtract | Overloaded. | |
| ToReverse |
Returns a new subset containing the indices of this subset in the reverse order.
| |
| ToString |
Returns a formatted string representation of this subset.
(Overrides Object..::.ToString()()().) | |
| ToUnique |
Returns a new subset containing the sorted indices of this subset, with all
repetitions removed.
| |
| Union |
Returns the union of two subsets.
| |
| Unique |
Sorts the indices in this subset and removes any repetitions.
|
Operators
| Name | Description | |
|---|---|---|
| Addition | Overloaded. | |
| BitwiseAnd |
Returns the intersection of two subsets.
| |
| BitwiseOr |
Returns the union of two subsets.
| |
| Decrement |
Decrements the indices in this subset.
| |
| Equality |
Tests for equality of two subsets. Two subsets are equal
if they have the same length and all indices are equal.
| |
| Implicit |
Implicitly converts a subset into an array of integers.
| |
| Increment |
Increments the elements in this subset.
| |
| Inequality |
Tests for inequality of two subsets. Two subsets are unequal
if they have different lengths or their indices are not
all equal.
| |
| Subtraction | Overloaded. | |
| UnaryNegation |
Negates the elements in this subset.
| |
| UnaryPlus |
Returns a subset.
|
Properties
| Name | Description | |
|---|---|---|
| First |
Gets the first index in the subset.
| |
| Indices |
Gets the underlying array of integer indices.
| |
| Item | Overloaded. | |
| Last |
Gets the last index in the subset.
| |
| Length |
Gets the total number of indices in the subset.
|