| CoreClasses REALbasic Plugin |
|
ObjectStack Class
ObjectStack is a class that implements a stack (first in last out algorithm) for objects.
Properties
Size | Use this property to get the size (element count) of the stack. |
Methods
Add | Use this method to add a object to the stack. |
AddItems | Use this method to add multiple objects from any container that implements the IIterator interface.
|
GetNext | Use to get next item from the ObjectStack. |
HasNext | Use to get info if there are more items in the ObjectStack. |
MoveFirst | Use to reset the iterator in the ObjectStack. |
PeekNext | Use this function to peek at next item from the ObjectStack without causing iteration. |
Pop | Use this method to pop one item off the stack. |
Push | Use this method to push one item onto the stack. |
Top | Use this function to read from the top of the stack. |
Supported Platforms:
PPC - MacOS 9Carbon - MacOS 9 and MacOS X (PEF)MacOS X PPC - (Mach-O)MacOS X Universal Binary (Mach-O)Win32 - WindowsLinux x86