ObjFW
|
A protocol with methods common for all collections. More...
#import <ObjFW/OFCollection.h>
Instance Methods | |
(size_t) | - count |
Returns the number of objects in the collection. More... | |
(bool) | - containsObject: |
Checks whether the collection contains an object equal to the specified object. More... | |
Instance Methods inherited from <OFEnumerating> | |
(OFEnumerator *) | - objectEnumerator |
Returns an OFEnumerator to enumerate through all objects of the collection. More... | |
Instance Methods inherited from <OFFastEnumeration> | |
(int) | - countByEnumeratingWithState:objects:count: |
A method which is called by the code produced by the compiler when doing a fast enumeration. More... | |
A protocol with methods common for all collections.
- (bool) containsObject: | (nullable id) | object |
Checks whether the collection contains an object equal to the specified object.
object | The object which is checked for being in the collection |
- (size_t) count |
Returns the number of objects in the collection.