Abstract collections class.
More...
#import <SCCollection.h>
Abstract collections class.
- Since
- version 1.1.3
Contains the declaration of all collection mandatory methods.@ Class instances can thrown the following exceptions:
- Todo:
Methods such setByAdddingObject: and so on
Change parameters type from id to id<SCCollection>
- (void) addBool: |
|
(BOOL) |
value |
|
Adds into the receiving collection the specified boolean value.
- Parameters
-
- Exceptions
-
- (void) addByte: |
|
(SCByte) |
value |
|
Adds into the receiving collection the specified signed 8-bit integer value.
- Parameters
-
- Exceptions
-
- (void) addChar: |
|
(char) |
value |
|
Adds into the receiving collection the specified character value.
- Parameters
-
- Exceptions
-
- (void) addCharString: |
|
(const char *) |
string |
|
Adds into the receiving collection the specified character string.
- Parameters
-
string | - added character string |
- Exceptions
-
- (void) addCollection: |
|
(id) |
collection |
|
Adds into the receiving collection the objects from the specified existing collection of any supported type.
- Parameters
-
collection | - existing source collection |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
Adds into the receiving collection the specified double value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified float value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified signed 32-bit integer value.
- Parameters
-
- Exceptions
-
- (void) addLong: |
|
(SCLong) |
value |
|
Adds into the receiving collection the specified signed 64-bit integer value.
- Parameters
-
- Exceptions
-
- (void) addObject: |
|
(id) |
object |
|
Adds into the receiving collection the specified existing object.
- Parameters
-
object | - added existing object |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) addObjects: |
|
(id) |
object |
, |
|
|
NS_REQUIRES_NIL_TERMINATION |
|
|
| |
Adds into the receiving collection the objects from the specified nil terminated list.
- Parameters
-
object | - first added object |
... | - other added objects |
NS_REQUIRES_NIL_TERMINATION | - mandatory nil pointer |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
Adds into the receiving collection the specified signed 16-bit integer value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified unsigned 8-bit integer value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified unsigned 32-bit integer value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified unsigned 64-bit integer value.
- Parameters
-
- Exceptions
-
- (void) addUnichar: |
|
(unichar) |
value |
|
Adds into the receiving collection the specified character value.
- Parameters
-
- Exceptions
-
Adds into the receiving collection the specified unsigned 16-bit integer value.
- Parameters
-
- Exceptions
-
Returns an array with the all objects from the receiving collection.
- Returns
- Array with objects
Reimplemented from <SCCollection>.
Reimplemented in SCArray.
Returns a bidirectional list with the all objects from the receiving collection.
- Returns
- Bidirectional list with objects
Reimplemented from <SCCollection>.
- (BOOL) containsAnyObject: |
|
(id) |
object |
, |
|
|
NS_REQUIRES_NIL_TERMINATION |
|
|
| |
Returns a boolean value that indicates whether the receiving collection contains at least one object from the specified nil terminated list.
- Parameters
-
object | - first desired object |
... | - other desired objects |
NS_REQUIRES_NIL_TERMINATION | - mandatory nil pointer |
- Returns
- YES if the receiving collection contains at least one object from the list, otherwise NO
Reimplemented from <SCCollection>.
- (BOOL) containsAnyObjectFromCollection: |
|
(id) |
collection |
|
Returns a boolean value that indicates whether the receiving collection contains at least one object from the specified collection of any supported type.
- Parameters
-
collection | - collection with the desired objects |
- Returns
- YES if the receiving collection contains at least one object from the specified collection, otherwise NO
Reimplemented from <SCCollection>.
- (BOOL) containsBool: |
|
(BOOL) |
value |
|
Returns a boolean value that indicates whether a given boolean value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsByte: |
|
(SCByte) |
value |
|
Returns a boolean value that indicates whether a given signed 8-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsChar: |
|
(char) |
value |
|
Returns a boolean value that indicates whether a given character is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given character is present in the receiving collection, otherwise NO
- (BOOL) containsCharString: |
|
(const char *) |
string |
|
Returns a boolean value that indicates whether a given character string is present in the receiving collection.
- Parameters
-
string | - desired character string |
- Returns
- YES if a given character string is present in the receiving collection, otherwise NO
- (BOOL) containsCollection: |
|
(id) |
collection |
|
Returns a boolean value that indicates whether the receiving collection contains all objects from the specified collection of any supported type.
- Parameters
-
collection | - collection with desired objects |
- Returns
- YES if all desired objects are present in the receiving collection, otherwise NO
Reimplemented from <SCCollection>.
- (BOOL) containsDouble: |
|
(SCDouble) |
value |
|
Returns a boolean value that indicates whether a given double value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsFloat: |
|
(SCFloat) |
value |
|
Returns a boolean value that indicates whether a given float value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
Returns a boolean value that indicates whether a given signed 32-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsLong: |
|
(SCLong) |
value |
|
Returns a boolean value that indicates whether a given signed 64-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsObject: |
|
(id) |
object |
|
Returns a boolean value that indicates whether an equivalent of a given object is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given object is present in the receiving collection, otherwise NO
Reimplemented from <SCCollection>.
- (BOOL) containsObjects: |
|
(id) |
object |
, |
|
|
NS_REQUIRES_NIL_TERMINATION |
|
|
| |
Returns a boolean value that indicates whether the receiving collection contains all objects from the specified nil terminated list.
- Parameters
-
object | - first desired object |
... | - other desired objects |
NS_REQUIRES_NIL_TERMINATION | - mandatory nil pointer |
- Returns
- YES if all objects are present in the receiving collection, otherwise NO
Reimplemented from <SCCollection>.
- (BOOL) containsShort: |
|
(SCShort) |
value |
|
Returns a boolean value that indicates whether a given signed 16-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsUByte: |
|
(SCUByte) |
value |
|
Returns a boolean value that indicates whether a given unsigned 8-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
Returns a boolean value that indicates whether a given unsigned 32-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsULong: |
|
(SCULong) |
value |
|
Returns a boolean value that indicates whether a given unsigned 64-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
- (BOOL) containsUnichar: |
|
(unichar) |
value |
|
Returns a boolean value that indicates whether a given character is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given character is present in the receiving collection, otherwise NO
- (BOOL) containsUShort: |
|
(SCUShort) |
value |
|
Returns a boolean value that indicates whether a given unsigned 16-bit integer value is present in the receiving collection.
- Parameters
-
- Returns
- YES if a given value is present in the receiving collection, otherwise NO
Returns a dictionary with the all objects from the receiving collection.
- Returns
- Dictionary with objects
Reimplemented from <SCCollection>.
Reimplemented in SCDictionary.
Tells the instance delegate object for each object in the receiving collection.
Tells the specified delegate object for each object in the receiving collection.
- Parameters
-
delegate | - delegate object |
- (NSArray *) foundationArray |
|
|
|
Returns a class NSArray instance with the all objects from the receiving collection.
- Returns
- Class NSArray instance with objects
Reimplemented from <SCCollection>.
- (NSDictionary *) foundationDictionary |
|
|
|
Returns a class NSDictionary instance with the all objects from the receiving collection.
- Returns
- Class NSDictionary instance with objects
Reimplemented from <SCCollection>.
- (NSOrderedSet *) foundationOrderedSet |
|
|
|
Returns a class NSOrderedSet instance with the all objects from the receiving collection.
- Returns
- Class NSOrderedSet instance with objects
Reimplemented from <SCCollection>.
- (NSSet *) foundationSet |
|
|
|
Returns a class NSSet instance with the all objects from the receiving collection.
- Returns
- Class NSSet instance with objects
Reimplemented from <SCCollection>.
- (id) initWithCollection: |
|
(id) |
collection |
|
Returns a boolean value that indicates whether the receiving instance is an array of any supported type.
- Returns
- YES if the receiving instance is an array, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isArray: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any array class.
- Parameters
-
- Returns
- YES if the specified object is an instance of an array class, otherwise NO
+ (BOOL) isArrayClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any supported array class.
- Parameters
-
- Returns
- YES if the specified string is a name of an array class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a collection of any supported type.
- Returns
- YES if the receiving instance is a collection, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isCollection: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any collection class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a collection class, otherwise NO
+ (BOOL) isCollectionClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any supported collection class.
- Parameters
-
- Returns
- YES if the specified string is a name of a collection class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a dictionary of any supported type.
- Returns
- YES if the receiving instance is a dictionary, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isDictionary: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any dictionary class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a dictionary class, otherwise NO
+ (BOOL) isDictionaryClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any dictionary class.
- Parameters
-
- Returns
- YES if the specified string is a name of a dictionary class, otherwise NO
- (BOOL) isEqual: |
|
(id) |
object |
|
Returns a boolean value that indicates whether the receiving collection is equals to the specified object.
- Parameters
-
object | - object with which to compare the receiving collection |
- Returns
- YES if the object is equals to the receiving collection, otherwise NO
Reimplemented from SCObject.
- (BOOL) isEqualToCollection: |
|
(id) |
collection |
|
Returns a boolean value that indicates whether the content and settings of the receiving collection are equal to the content and settings of another given collection.
- Parameters
-
collection | - collection with which to compare the receiving collection |
- Returns
- YES if the content and settings of other collection are equal to the content and setting of the receiving collection, otherwise NO
- (BOOL) isEqualToContentsOfCollection: |
|
(id) |
collection |
|
Returns a boolean value that indicates whether the content of the receiving collection is equals to the content of another given collection.
- Parameters
-
collection | - collection with which to compare the receiving collection |
- Returns
- YES if the content of other collection is equals to the content of the receiving collection, otherwise NO
- (BOOL) isFoundationArray |
|
|
|
Returns a boolean value that indicates whether the reciving instance is a standard array.
- Returns
- YES if the receiving instance is a standard array, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isFoundationArray: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any standard array class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a standard array class, otherwise NO
+ (BOOL) isFoundationArrayClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any standard array class.
- Parameters
-
- Returns
- YES if the specified string is a name of a standard array class, otherwise NO
- (BOOL) isFoundationCollection |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a standard collection.
- Returns
- YES if the receiving instance is a library collection, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isFoundationCollection: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any standard collection class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a standard collection class, otherwise NO
+ (BOOL) isFoundationCollectionClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any standard collection class.
- Parameters
-
- Returns
- YES if the specified string is a name of a standard collection class, otherwise NO
- (BOOL) isFoundationDictionary |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a standard dictionary.
- Returns
- YES if the receiving instance is a standard dictionary, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isFoundationDictionary: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any standard dictionary class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a standard dictionary class, otherwise NO
+ (BOOL) isFoundationDictionaryClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library dictionary class.
- Parameters
-
- Returns
- YES if the specified string is a name of a standard dictionary class, otherwise NO
- (BOOL) isFoundationOrderedSet |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a standard ordered set.
- Returns
- YES if the receiving instance is a standard ordered set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isFoundationOrderedSet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any standard ordered set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a standard ordered set class, otherwise NO
+ (BOOL) isFoundationOrderedSetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any standard ordered set class.
- Parameters
-
- Returns
- YES if the specified string is a name of a standard ordered set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a standard set.
- Returns
- YES if the receiving instance is a standard set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isFoundationSet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any standard set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a standard set class, otherwise NO
+ (BOOL) isFoundationSetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any standard set class.
- Parameters
-
- Returns
- YES if the specified string is a name of a standard set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a library array.
- Returns
- YES if the receiving instance is a library array, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isLibraryArray: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any library array class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a library array class, otherwise NO
+ (BOOL) isLibraryArrayClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library array class.
- Parameters
-
- Returns
- YES if the specified string is a name of a library array class, otherwise NO
- (BOOL) isLibraryCollection |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a library collection.
- Returns
- YES if the receiving instance is a library collection, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isLibraryCollection: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any librray collection class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a library collection class, otherwise NO
+ (BOOL) isLibraryCollectionClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library collection class.
- Parameters
-
- Returns
- YES if the specified string is a name of a library collection class, otherwise NO
- (BOOL) isLibraryDictionary |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a library dictionary.
- Returns
- YES if the receiving instance is a library dictionary, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isLibraryDictionary: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any library dictionary class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a library dictionary class, otherwise NO
+ (BOOL) isLibraryDictionaryClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library dictionary class.
- Parameters
-
- Returns
- YES if the specified string is a name of a library dictionary class, otherwise NO
- (BOOL) isLibraryOrderedSet |
|
|
|
Returns a boolean value that indicates whether the receiving instance is a library ordered set.
- Returns
- YES if the receiving instance is a library ordered set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isLibraryOrderedSet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any library ordered set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a library ordered set class, otherwise NO
+ (BOOL) isLibraryOrderedSetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library ordered set class.
- Parameters
-
- Returns
- YES if the specified string is a name of a library ordered set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a library set.
- Returns
- YES if the receiving instance is a library set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isLibrarySet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any library set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a library set class, otherwise NO
+ (BOOL) isLibrarySetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any library set class.
- Parameters
-
- Returns
- YES if the specified string is a name of a library set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a list of any supported type.
- Returns
- YES if the receiving instance is a list, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isList: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any list class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a list class, otherwise NO
+ (BOOL) isListClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any list class.
- Parameters
-
- Returns
- YES if the specified string is a name of a list class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is an ordered set of any supported type.
- Returns
- YES if the receiving instance is an orderder set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isOrderedSet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any ordered set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of an ordered set class, otherwise NO
+ (BOOL) isOrderedSetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any ordered set class.
- Parameters
-
- Returns
- YES if the specified string is a name of an ordered set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a queue.
- Returns
- YES if the receiving instance is a queue, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isQueue: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any queue class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a queue class, otherwise NO
+ (BOOL) isQueueClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any queue class.
- Parameters
-
- Returns
- YES if the specified string is a name of a queue class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a set of any supported type.
- Returns
- YES if the receiving instance is a set, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isSet: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any set class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a set class, otherwise NO
+ (BOOL) isSetClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any set class.
- Parameters
-
- Returns
- YES if the specified string is a name of a set class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a sortable collection of any supported type.
- Returns
- YES if the receiving instance is a sortable collection, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isSortable: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any sortable collection class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a sortable collection class, otherwise NO
+ (BOOL) isSortableClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any sortable collection class.
- Parameters
-
- Returns
- YES if the specified string is a name of a sortable collection class, otherwise NO
Returns a boolean value that indicates whether the receiving instance is a stack.
- Returns
- YES if the receiving instance is a stack, otherwise NO
Reimplemented from <SCCollection>.
+ (BOOL) isStack: |
|
(id) |
object |
|
Returns a boolean value that indicates whether a given object is an instance of any stack class.
- Parameters
-
- Returns
- YES if the specified object is an instance of a stack class, otherwise NO
+ (BOOL) isStackClass: |
|
(NSString *) |
name |
|
Returns a boolean value that indicates whether a given string is a name of any stack class.
- Parameters
-
- Returns
- YES if the specified string is a name of a stack class, otherwise NO
Returns an ordered set with the all objects from the receiving collection.
- Returns
- Ordered set with objects
Reimplemented from <SCCollection>.
Reimplemented in SCOrderedSet.
Returns a queue with the all objects from the receiving collection.
- Returns
- Queue with objects
Reimplemented from <SCCollection>.
Reimplemented in SCQueue.
- (void) removeAllObjects |
|
|
|
- (void) removeBool: |
|
(BOOL) |
value |
|
Removes from the receiving collection the all occurrences of the specified boolean value.
- Parameters
-
- Exceptions
-
- (void) removeByte: |
|
(SCByte) |
value |
|
Removes from the receiving collection the all occurrences of the specified signed 8-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeChar: |
|
(char) |
value |
|
Removes from the receiving collection the all occurrences of the specified character.
- Parameters
-
- Exceptions
-
- (void) removeCharString: |
|
(const char *) |
string |
|
Removes from the receiving collection the all occurrences of the specified character string.
- Parameters
-
string | - removed character string |
- Exceptions
-
- (void) removeCollection: |
|
(id) |
collection |
|
Removes from the receiving collection objects that are present in the specified collection of any supported type.
- Parameters
-
collection | - collection with the removed objects |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
Removed from the receiving collection the all occurrences of the specified double value.
- Parameters
-
- Exceptions
-
- (void) removeFloat: |
|
(SCFloat) |
value |
|
Removes from the receiving collection the all occurrences of the specified float value.
- Parameters
-
- Exceptions
-
Removes from the receiving collection the all occurrences of the specified signed 32-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeLong: |
|
(SCLong) |
value |
|
Removes from the receiving collection the all occurrences of the specified signed 64-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeObject: |
|
(id) |
object |
|
Removes from the receiving collection the all occurrences of the specified object.
- Parameters
-
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) removeObjects: |
|
(id) |
object |
, |
|
|
NS_REQUIRES_NIL_TERMINATION |
|
|
| |
Removes from the receiving collection the all occurrences of the objects from the specified nil terminated list.
- Parameters
-
object | - first removed object |
... | - other removed objects |
NS_REQUIRES_NIL_TERMINATION | - mandatory nil pointer |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) removeObjectsWithClass: |
|
(Class) |
oclass |
|
Removes from the receiving collection all objects of the specified class.
- Parameters
-
oclass | - class of removed objects |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) removeObjectsWithClassName: |
|
(NSString *) |
name |
|
Removes from the receiving collection all objects of the class with the specified name.
- Parameters
-
name | - named of removed objects class |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) removeShort: |
|
(SCShort) |
value |
|
Removes from the receiving collection the all occurrences of the specified signed 16-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeUByte: |
|
(SCUByte) |
value |
|
Removes from the receiving collection the all occurrences of the specified unsigned 8-bit integer value.
- Parameters
-
- Exceptions
-
Removes from the receiving collection the all occurrences of the specified unsigned 32-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeULong: |
|
(SCULong) |
value |
|
Removes from the receiving collection the all occurrences of the specified unsigned 64-bit integer value.
- Parameters
-
- Exceptions
-
- (void) removeUnichar: |
|
(unichar) |
value |
|
Removes from the receiving collection the all occurrences of the specified character.
- Parameters
-
- Exceptions
-
Removes from the receiving collection the all occurrences of the specified unsigned 16-bit integer value.
- Parameters
-
- Exceptions
-
- (void) reverseEnumerate |
|
|
|
Tells the instance delegate object for each object in the receiving collection, in reverse order.
Tells the specified delegate object for each object in the receiving collection, in reverse order.
- Parameters
-
delegate | - delegate object |
Returns a set with the all objects from the receiving collection.
- Returns
- Set with objects
Reimplemented from <SCCollection>.
Reimplemented in SCSet.
- (void) setCollection: |
|
(id) |
collection |
|
Replaces the content and settings of the receiving collection by using the content and settings from the specified existing collection.
- Parameters
-
collection | - existing source collection |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) setObject: |
|
(id) |
object |
|
Replaces the content of the receiving collection by using the specified existing object.
- Parameters
-
object | - existing source object |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
- (void) setObjects: |
|
(id) |
object |
, |
|
|
NS_REQUIRES_NIL_TERMINATION |
|
|
| |
Replaces the content of the receiving collection by using the objects from the specified nil terminated list.
- Parameters
-
object | - first source object |
... | - other source objects |
NS_REQUIRES_NIL_TERMINATION | - mandatory nil pointer |
- Exceptions
-
Reimplemented from <SCMutableCollection>.
Returns a stack with the all objects from the receiving collection.
- Returns
- Stack with objects
Reimplemented from <SCCollection>.
Reimplemented in SCStack.
Returns an unidirectional list with the all objects from the receiving collection.
- Returns
- Unidirectional list with objects
Reimplemented from <SCCollection>.
Number of objects within the collection
Collection delegate object
- (NSString *) description |
|
readnonatomicretain |
Determines whether the collection is empty or contains at least one object.
- (NSEnumerator *) objectEnumerator |
|
readnonatomicretain |
Enumerator object that lets you access each object in the collection
Determines whether the collection is in read only mode.
- (NSEnumerator *) reverseObjectEnumerator |
|
readnonatomicretain |
Enumerator object that lets you access each object in the collection, in reverse order
The documentation for this class was generated from the following files: