Documentació de Gambas (versió en desenvolupament)
Compilació i instaŀlació
Components
gb
gb.desktop
gb.form
gb.qt4
gb.web
Documents
How To's
Language Index
Language Overviews
Lèxic
Missatges d'Error
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
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