ObjectQueue Class (console safe)
ObjectQueue is a class that implements a queue (first in first 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 queue. |
Methods
Add | Use this method to add a object to the queue. |
AddItems | Use this method to add multiple objects from any container that implements the IIterator interface. |
Back | Use this function to read from the back of the queue. |
Front | Use this function to read from the front of the queue. |
GetNext | Use to get next item from the ObjectQueue. |
HasNext | Use to get info if there are more items in the ObjectQueue. |
MoveFirst | Use to reset the iterator in the ObjectQueue. |
PeekNext | Use this function to peek at next item from the ObjectQueue without causing iteration. |
Pop | Use this method to pop one item from the queue. |
Push | Use this method to push one item into the queue. |
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