Public Member Functions | Protected Attributes

OFMutableDictionary Class Reference

A class for using mutable hash tables. More...

#import <OFMutableDictionary.h>

Inheritance diagram for OFMutableDictionary:
OFDictionary OFObject <OFCopying> <OFMutableCopying> <OFCollection> <OFFastEnumeration> <OFObject> <OFObject>

List of all members.

Public Member Functions

(void) - setObject:forKey:
(void) - removeObjectForKey:
(void) - replaceObjectsUsingBlock:

Protected Attributes

unsigned long mutations

Detailed Description

A class for using mutable hash tables.


Member Function Documentation

- (void) removeObjectForKey: (id)  key  

Remove the object with the given key from the dictionary.

Parameters:
key The key whose object should be removed
- (void) replaceObjectsUsingBlock: (of_dictionary_replace_block_t)  block  

Replaces each object with the object returned by the block.

Parameters:
block The block which returns a new object for each object
- (void) setObject: (id)  obj
forKey: (id <OFCopying>)  key 

Sets an object for a key. A key can be any object.

Parameters:
key The key to set
obj The object to set the key to

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