ObjFW
Public Member Functions
<OFCollection> Protocol Reference

A protocol with methods common for all collections. More...

#import <OFCollection.h>

Inheritance diagram for <OFCollection>:
<OFEnumerating> <OFFastEnumeration> OFArray OFDictionary OFList OFSet OFMutableArray OFMutableDictionary OFMutableSet OFCountedSet

List of all members.

Public Member Functions

(size_t) - count
 Returns the number of objects in the collection.
(BOOL) - containsObject:
 Checks whether the collection contains an object equal to the specified object.

Detailed Description

A protocol with methods common for all collections.


Member Function Documentation

- (BOOL) containsObject: (id)  object

Checks whether the collection contains an object equal to the specified object.

Parameters:
objectThe object which is checked for being in the collection
Returns:
A boolean whether the collection contains the specified object
- (size_t) count

Returns the number of objects in the collection.

Returns:
The number of objects in the collection

The documentation for this protocol was generated from the following file:
 All Classes Functions Variables Properties