CoreClasses REALbasic Plugin

ObjectQueue Class

ObjectQueue is a class that implements a queue (first in first out algorithm) for objects.

Object
   ObjectQueue

class ObjectQueue implements

IIterator

IObjectAddable

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:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86