180
181
182
183
184
185
186
187
188
189
190
191
192
193
|
* The returned object is <i>not</i> retained and autoreleased for performance
* reasons!
*
* \param key The key whose object should be returned
* \return The object for the given key or nil if the key was not found
*/
- (id)objectForKey: (id)key;
/**
* \brief Checks whether the dictionary contains an object with the specified
* address.
*
* \param object The object which is checked for being in the dictionary
* \return A boolean whether the dictionary contains an object with the
|
>
|
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
* The returned object is <i>not</i> retained and autoreleased for performance
* reasons!
*
* \param key The key whose object should be returned
* \return The object for the given key or nil if the key was not found
*/
- (id)objectForKey: (id)key;
- (id)objectForKeyedSubscript: (id)key;
/**
* \brief Checks whether the dictionary contains an object with the specified
* address.
*
* \param object The object which is checked for being in the dictionary
* \return A boolean whether the dictionary contains an object with the
|
249
250
251
252
253
254
255
|
#if defined(OF_SET_M) || defined(OF_COUNTED_SET_M)
- _initWithDictionary: (OFDictionary*)dictionary
copyKeys: (BOOL)copyKeys;
#endif
@end
#import "OFMutableDictionary.h"
|
>
>
>
>
>
|
250
251
252
253
254
255
256
257
258
259
260
261
|
#if defined(OF_SET_M) || defined(OF_COUNTED_SET_M)
- _initWithDictionary: (OFDictionary*)dictionary
copyKeys: (BOOL)copyKeys;
#endif
@end
#import "OFMutableDictionary.h"
#ifndef NSINTEGER_DEFINED
/* Required for dictionary literals to work */
@compatibility_alias NSDictionary OFDictionary;
#endif
|