Gambas Documentation - /comp/gb.data/deque

/comp/gb.data/deque

# Deque (gb.data)

The Deque (double-ended queue) is the backend for the Queue and Stack classes.

An explantion of deques can be found on Wikipedia

This class is
Dim hDeque As Deque
creatable
.

Properties | Methods
--- | ---

property Read IsEmpty As Boolean
IsEmpty
property Read Size As Integer
Size

Sub Clear ( )
Clear
Return a deep copy of the Deque.
Copy
Function PeekBack ( ) As Variant
PeekBack
Function PeekFront ( ) As Variant
PeekFront
Function PopBack ( ) As Variant
PopBack
Function PopFront ( ) As Variant
PopFront
Sub PushBack ( Value As Variant )
PushBack
Sub PushFront ( Value As Variant )
PushFront