Instance Method

indexLessThanIndex:

Returns either the closest index in the index set that is less than a specific index or the not-found indicator.

Declaration

- (NSUInteger)indexLessThanIndex:(NSUInteger)value;

Parameters

index

Index being inquired about.

Return Value

Closest index in the index set less than index; NSNotFound when the index set contains no qualifying index.

See Also

Getting Indexes

firstIndex

The first index in the index set.

lastIndex

The last index in the index set.

- indexLessThanOrEqualToIndex:

Returns either the closest index in the index set that is less than or equal to a specific index or the not-found indicator.

- indexGreaterThanOrEqualToIndex:

Returns either the closest index in the index set that is greater than or equal to a specific index or the not-found indicator.

- indexGreaterThanIndex:

Returns either the closest index in the index set that is greater than a specific index or the not-found indicator.

- getIndexes:maxCount:inIndexRange:

The index set fills an index buffer with the indexes contained both in the index set and in an index range, returning the number of indexes copied.