API  0.9.10
CPIndexSet(CPMutableIndexSet) Category Reference

Instance Methods

(void) - addIndex:
 
(void) - addIndexes:
 
(void) - addIndexesInRange:
 
(void) - removeAllIndexes
 
(void) - removeIndex:
 
(void) - removeIndexes:
 
(void) - removeIndexesInRange:
 
(void) - shiftIndexesStartingAtIndex:by:
 

Detailed Description

Definition at line 702 of file CPIndexSet.j.

Method Documentation

◆ addIndex:()

- (void) addIndex: (CPInteger)  anIndex
implementation

Adds an index to the set.

Parameters
anIndexthe index to add

Extends class CPIndexSet.

Definition at line 709 of file CPIndexSet.j.

◆ addIndexes:()

- (void) addIndexes: (CPIndexSet anIndexSet
implementation

Adds indices to the set

Parameters
anIndexSeta set of indices to add to the receiver

Extends class CPIndexSet.

Definition at line 718 of file CPIndexSet.j.

◆ addIndexesInRange:()

- (void) addIndexesInRange: (CPRange)  aRange
implementation

Adds the range of indices to the set

Parameters
aRangethe range of numbers to add as indices to the set

Extends class CPIndexSet.

Definition at line 732 of file CPIndexSet.j.

◆ removeAllIndexes()

- (void) removeAllIndexes
implementation

Removes all indices from the set

Extends class CPIndexSet.

Definition at line 827 of file CPIndexSet.j.

◆ removeIndex:()

- (void) removeIndex: (CPInteger)  anIndex
implementation

Removes an index from the set

Parameters
anIndexthe index to remove

Extends class CPIndexSet.

Definition at line 804 of file CPIndexSet.j.

◆ removeIndexes:()

- (void) removeIndexes: (CPIndexSet anIndexSet
implementation

Removes the indices from the receiving set.

Parameters
anIndexSetthe set of indices to remove from the receiver

Extends class CPIndexSet.

Definition at line 814 of file CPIndexSet.j.

◆ removeIndexesInRange:()

- (void) removeIndexesInRange: (CPRange)  aRange
implementation

Removes the indices in the range from the set.

Parameters
aRangethe range of indices to remove

Extends class CPIndexSet.

Definition at line 838 of file CPIndexSet.j.

◆ shiftIndexesStartingAtIndex:by:()

- (void) shiftIndexesStartingAtIndex: (CPInteger)  anIndex
by: (int)  aDelta 
implementation

Shifts the values of indices left or right by a specified amount.

Parameters
anIndexthe index to start the shifting operation from (inclusive)
aDeltathe amount and direction to shift. A positive value shifts to the right. A negative value shifts to the left.

Extends class CPIndexSet.

Definition at line 921 of file CPIndexSet.j.


The documentation for this category was generated from the following file: