Static
EqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Creates an empty IndexSet.
Creates an IndexSet as a copy of another IndexSet.
The IndexSet to be copied.
Creates an IndexSet with the specified capacity.
Creates an IndexSet with specified capacity and initial content.
The maximum capacity.
The initial content.
Readonly
ItemIndexer. Returns a bool indicating if the index is a member of the set.
Controls the total number of indexes that the IndexSet can hold (numbered 0 to Capacity-1) Setting capacity will clear the IndexSet.
Number of indexes currently in the set.
Gets the first index in the IndexSet.
True if the set has no indexes (Count == 0).
True if the all indexes are in the set (Count == Capacity).
Tells if this IndexSet is read-only.
Gets the last index in the IndexSet.
Adds the index to the set. If the index is already in the set, nothing is changed.
Index
Adds the specified indexes to the set.
The indexes.
Adds a range of indexes to the set.
Copies the content of the specified IndexSet into this one.
The IndexSet to assign from
This modified IndexSet
Assigns the indexes from the specified array of indexes encoded as bits. The length of the bits array must be (capacity + 31)/32. Bits outside of capacity in the last array element are ignored.
IndexSet capacity
Array of 32-bit words
This modified IndexSet
Determines whether this IndexSet contains all indexes of that IndexSet.
The IndexSet to test against
true is that set is a sub set of this set; otherwise false.
Copies the indexes in the set to the array starting at the offset.
Int32 array
Array offset
Determines whether the specified object is equal to the current object.
The object to compare with the current object.
true if the specified object is equal to the current object; otherwise, false.
Tests if this IndexSet and that IndexSet have the same Capacity and contain exactly the same indexes.
The IndexSet to compare against
True if the sets are equal
Fills the specified array with the indexes encoded as bits. The length of the bits array must be (Capacity + 31)/32.
Array of 32-bit words
Returns an enumerator for the IndexSet.
IndexSet.Enumerator
Gets the index after the specified one.
The index.
Next index, or -1.
Gets the index before the specified one.
The index.
Previous index, or -1.
Returns a bool indicating if the index is a member of the set.
Index
True if the index is a member of the set
Determines whether this and that IndexSet have any indexes in common.
The IndexSet to test against
true is the sets intersect; otherwise false.
Gets the Nth smallest index. Caution: This method is slow (linear time), so you must ensure that your algorithm (or the one using your algorithm) never calls this method many times, which could result in quadratic time.
Index ordinal number. The valid range is 1 to Count.
The index with the specified ordinal number.
Removes the index from the set. If the index is not in the set, nothing is changed.
Index
Removes the specified indexes from the set.
The indexes.
Removes a range of indexes from the set.
Static
AndStatic
NotStatic
OrStatic
SubtractStatic
Xor
A bitset-like class that represents a collection of indices, typically a subset of the rows in a Spotfire.Dxp.Data.IDataColumn or similar.
Since
2.0