List of all members.
Detailed Description
A class for storing objects in a hash table.
Member Function Documentation
+ (id) dictionaryWithKeysAndObjects: |
|
(id <OFCopying>) |
key |
, |
|
|
... | |
|
|
| | |
+ (id) dictionaryWithObject: |
|
(id) |
obj |
forKey: |
|
(id <OFCopying>) |
key | |
|
|
| | |
Creates a new OFDictionary with the specified key and object.
- Parameters:
-
| key | The key |
| obj | The object |
- Returns:
- A new autoreleased OFDictionary
+ (id) dictionaryWithObjects: |
|
(OFArray*) |
objs |
forKeys: |
|
(OFArray*) |
keys | |
|
|
| | |
Creates a new OFDictionary with the specified keys and objects.
- Parameters:
-
| keys | An array of keys |
| objs | An array of objects |
- Returns:
- A new autoreleased OFDictionary
- (id) initWithKey: |
|
(id <OFCopying>) |
first |
argList: |
|
(va_list) |
args | |
|
|
| | |
Initializes an already allocated OFDictionary with the specified key and va_list.
- Parameters:
-
| first | The first key |
| args | A va_list of the other arguments |
- Returns:
- A new initialized OFDictionary
- (id) initWithKeysAndObjects: |
|
(id <OFCopying>) |
first |
, |
|
|
... | |
|
|
| | |
Initializes an already allocated OFDictionary with the specified keys and objects.
- Parameters:
-
- Returns:
- A new initialized OFDictionary
- (id) initWithObject: |
|
(id) |
obj |
forKey: |
|
(id <OFCopying>) |
key | |
|
|
| | |
Initializes an already allocated OFDictionary with the specified key and object.
- Parameters:
-
| key | The key |
| obj | The object |
- Returns:
- A new initialized OFDictionary
Initializes an already allocated OFDictionary with the specified keys and objects.
- Parameters:
-
| keys | An array of keys |
| objs | An array of objects |
- Returns:
- A new initialized OFDictionary
- Returns:
- An OFEnumerator to enumerate through the dictionary's keys
- (id) objectForKey: |
|
(id) |
key |
|
|
Returns the object for the given key or nil if the key was not found.
The returned object is not retained and autoreleased for performance reasons!
- Parameters:
-
| key | The key whose object should be returned |
- Returns:
- The object for the given key or nil if the key was not found
The documentation for this class was generated from the following files: