ObjFW
Public Member Functions
OFCountedSet Class Reference

An abstract class for a mutable unordered set of objects, counting how often it contains an object. More...

#import <OFCountedSet.h>

Inheritance diagram for OFCountedSet:
OFMutableSet OFSet OFObject <OFCollection> <OFCopying> <OFMutableCopying> <OFSerialization> <OFObject> <OFEnumerating> <OFFastEnumeration>

List of all members.

Public Member Functions

(size_t) - countForObject:
 Returns how often the object is in the set.
(void) - enumerateObjectsAndCountUsingBlock:
 Executes a block for each object in the set.

Detailed Description

An abstract class for a mutable unordered set of objects, counting how often it contains an object.


Member Function Documentation

- (size_t) countForObject: (id)  object

Returns how often the object is in the set.

Returns:
How often the object is in the set
- (void) enumerateObjectsAndCountUsingBlock: (of_counted_set_enumeration_block_t)  block

Executes a block for each object in the set.

Parameters:
blockThe block to execute for each object in the set

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties