count |
- (unsigned) count;
isEmpty |
- (BOOL) isEmpty;
isEqual: |
two stack object equal if they contain the same data in the same order.
- (BOOL)isEqual: (id) anObject;
popObject |
Removes the top element if existent.
- popObject;
The caller of the method has to release the returned reference
pushObject: |
puts the given object on top of all objects. nil is not allowed.
- pushObject: (id) toPush;
toPush
- object to push. May not equal nil.
(Last Updated November 08, 2007)