Contents

getLastObject

Returns the last object in the array.

Declaration

virtual OSObject * getLastObject() const;

Return Value

The last object in the array, or NULL if the array is empty.

Overview

The returned object will be released if removed from the array; if you plan to store the reference, you should call retain on that object.

See Also

Miscellaneous