merge
Appends the contents of an array onto the receiving array.
Declaration
virtual bool merge(
const OSArray *otherArray);Parameters
- otherArray:
The array whose contents will be appended to the receiving array.
Return Value
true if merging was successful, false otherwise.
Overview
This function merely appends one array onto another. Duplicates are not avoided and no sorting is performed. Objects successfully added to the receiver are retained.
See Also
Miscellaneous
copyCollectionensureCapacityflushCollectionfreegetCapacitygetCapacityIncrementgetCountgetLastObjectgetNextIndexOfObjectgetObjectinitWithArrayinitWithCapacityinitWithObjectsisEqualTo(const OSArray *)isEqualTo(const OSMetaClassBase *)removeObjectreplaceObjectserializesetCapacityIncrementsetObject(const OSMetaClassBase *)setObject(unsigned int, const OSMetaClassBase *)withArraywithCapacitywithObjects