Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Queue (gb.data)

A Queue is a FIFO datatype: all elements follow the pattern "first in, first out".

Imagine this datatype like any other queue, e.g. in the supermarket.

This class is creatable.

Properties
IsEmpty   property Read IsEmpty As Boolean Returns TRUE if the Queue is empty.
Size   property Read Size As Integer

Methods
Clear   Sub Clear ( )
Copy   Return a deep copy of the Queue.
Deq   Function Deq ( ) As Variant
Dequeue   Function Dequeue ( ) As Variant
Enq   Sub Enq ( Value As Variant )
Enqueue   Sub Enqueue ( Value As Variant )
Peek   Function Peek ( ) As Variant