ObjFW
|
An abstract class for a mutable unordered set of objects, counting how often it contains an object. More...
#import <OFCountedSet.h>
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. |
An abstract class for a mutable unordered set of objects, counting how often it contains an object.
- (size_t) countForObject: | (id) | object |
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.
block | The block to execute for each object in the set |