Hex Fiend's answer to NSIndexSet. It can contain any unsigned long long value.
§ init()
Initializes the receiver as empty.
§ initWithValue:()
- (instancetype) initWithValue: |
|
(unsigned long long) |
value |
|
Initializes the receiver with a single index.
§ initWithValuesInRange:()
- (instancetype) initWithValuesInRange: |
|
(HFRange) |
range |
|
Initializes the receiver with the indexes in a single range.
§ initWithIndexSet:()
- (instancetype) initWithIndexSet: |
|
(HFIndexSet *) |
otherSet |
|
Initializes the receiver with the indexes in an NSIndexSet.
§ numberOfRanges()
- (NSUInteger) numberOfRanges |
|
|
|
Returns the number of ranges in the set.
§ rangeAtIndex:()
- (HFRange) rangeAtIndex: |
|
(NSUInteger) |
idx |
|
Returns the range at a given index.
§ countOfValuesInRange:()
- (unsigned long long) countOfValuesInRange: |
|
(HFRange) |
range |
|
Returns the number of values in a given range.
§ countOfValues()
- (unsigned long long) countOfValues |
|
|
|
Returns the number of values in the set.
§ verifyIntegrity()
§ rangeContainingValue:()
- (HFRange) rangeContainingValue: |
|
(unsigned long long) |
idx |
|
Returns the range containing the given value. If the index is not present in the set, returns {ULLONG_MAX, ULLONG_MAX}.
§ isEqualToNSIndexSet:()
- (BOOL) isEqualToNSIndexSet: |
|
(NSIndexSet *) |
indexSet |
|
Indicates whether the receiver contains exactly the same indexes as the given NSIndexSet.
The documentation for this class was generated from the following file: