Contents

getCapacity

Returns the number of objects the dictionary can store without reallocating.

Declaration

virtual unsigned int getCapacity() const;

Return Value

The number objects the dictionary can store without reallocating.

Overview

OSDictionary objects grow when full to accommodate additional key/object pairs. See getCapacityIncrement and ensureCapacity.

See Also

Miscellaneous