merge
Merges the contents of a dictionary into the receiver.
Declaration
virtual bool merge(
const OSDictionary *aDictionary);Parameters
- aDictionary:
The dictionary whose contents are to be merged with the receiver.
Return Value
true if the merge succeeds, false otherwise.
Overview
If there are keys in aDictionary that match keys in the receiving dictionary, then the objects in the receiver are replaced by those from aDictionary, and the replaced objects are released.
See Also
Miscellaneous
copyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetObjectgetObject(const OSString *)getObject(const OSSymbol *)initWithCapacityinitWithDictionaryinitWithObjects(const OSObject *, const OSString *, unsigned int, unsigned int)initWithObjects(const OSObject *, const OSSymbol *, unsigned int, unsigned int)isEqualToisEqualTo(const OSDictionary *)isEqualTo(const OSDictionary *, const OSCollection *)removeObjectremoveObject(const OSString *)removeObject(const OSSymbol *)serializesetCapacityIncrementsetObjectsetObject(const OSString *, const OSMetaClassBase *)setObject(const OSSymbol *, const OSMetaClassBase *)withCapacitywithDictionarywithObjects(const OSObject *, const OSString *, unsigned int, unsigned int)withObjects(const OSObject *, const OSSymbol *, unsigned int, unsigned int)