![]() |
API
0.9.6
|
#import <CPMutableSet.h>
Class Methods | |
(id) | + setWithCapacity: |
![]() | |
(id) | + alloc |
(id) | + set |
(id) | + setWithArray: |
(id) | + setWithObject: |
(id) | + setWithObjects: |
(id) | + setWithObjects:count: |
(id) | + setWithSet: |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(void) | + initialize |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
This class is just an empty subclass of CPSet. CPSet already implements mutable methods and this class only exists for source compatability.
CPSet is a data structure for storing an an unordered collection of unique objects. Sets have O(1) insertion/lookup/deletion time complexity.
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 83 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.
Reimplemented from CPSet.
Definition at line 35 of file CPMutableSet.j.
|
implementation |
Returns an initialized set with a given initial capacity.
aCapacity,only | present for compatability |
Definition at line 18 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 121 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 108 of file CPMutableSet.j.
|
implementation |
Removes all the objects from the set.
Definition at line 70 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 49 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 58 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 141 of file CPMutableSet.j.
|
implementation |
Creates and returns a set with a given initial capacity.
aCapacity,only | present for compatability |
Definition at line 27 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 95 of file CPMutableSet.j.