#import <CPMutableSet.h>
Instance Methods | |
(void) | - addObjectsFromArray: |
(void) | - filterUsingPredicate: |
(id) | - initWithCapacity: |
(void) | - intersectSet: |
(void) | - minusSet: |
(void) | - removeAllObjects |
(void) | - removeObject: |
(void) | - removeObjectsInArray: |
(void) | - setSet: |
(void) | - unionSet: |
Class Methods | |
(id) | + setWithCapacity: |
This class is just an empty subclass of CPSet. CPSet already implements mutable methods and this class only exists for source compatability.
Definition at line 2 of file CPMutableSet.h.
|
implementation |
Adds to the receiver each object contained in a given array that is not already a member.
array | An array of objects to add to the receiver. |
Definition at line 82 of file CPMutableSet.j.
|
implementation |
Returns a set filtered using a given predicate. aPredicate a CPPredicate object used to filter the objects in the set.
Definition at line 34 of file CPMutableSet.j.
|
implementation |
Returns an initialized set with a given initial capacity.
aCapacity,only | present for compatability |
Definition at line 17 of file CPMutableSet.j.
|
implementation |
Removes from the receiver each object that isn't a member of another given set.
set | The set with which to perform the intersection. |
Definition at line 120 of file CPMutableSet.j.
|
implementation |
Removes from the receiver each object contained in another given set that is present in the receiver.
set | The set of objects to remove from the receiver. |
Definition at line 107 of file CPMutableSet.j.
|
implementation |
Removes all the objects from the set.
Definition at line 69 of file CPMutableSet.j.
|
implementation |
Removes an object from the set.
anObject | the object to remove from the set. If the object is not in the set, the method will not modify the set. |
Definition at line 48 of file CPMutableSet.j.
|
implementation |
Removes an array of objects from the set.
anArray | an array of object to remove from the set. |
Definition at line 57 of file CPMutableSet.j.
|
implementation |
Empties the receiver, then adds to the receiver each object contained in another given set.
set | The set whose members replace the receiver's content. |
Definition at line 140 of file CPMutableSet.j.
|
implementation |
Creates and returns a set with a given initial capacity.
aCapacity,only | present for compatability |
Definition at line 26 of file CPMutableSet.j.
|
implementation |
Adds to the receiver each object contained in another given set
set | The set of objects to add to the receiver. |
Definition at line 94 of file CPMutableSet.j.