ObjectStack Class (console safe)
ObjectStack is a class that implements a stack (first in last out algorithm) for objects.
This class supports Xojo’s For each syntax when on Xojo 2019r2 or later.
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:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS