CoreClasses Xojo Plugin

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.

Object
   ObjectQueue

class ObjectQueue implements

IIterator

IObjectAddable

Iterable

Iterator

Properties

SizeUse this property to get the size (element count) of the queue.

Methods

AddUse this method to add a object to the queue.
AddItemsUse this method to add multiple objects from any container that implements the IIterator interface.
BackUse this function to read from the back of the queue.
FrontUse this function to read from the front of the queue.
GetNextUse to get next item from the ObjectQueue.
HasNextUse to get info if there are more items in the ObjectQueue.
MoveFirstUse to reset the iterator in the ObjectQueue.
PeekNextUse this function to peek at next item from the ObjectQueue without causing iteration.
PopUse this method to pop one item from the queue.
PushUse this method to push one item into the queue.

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit
  • iOS