Legal Notice, Privacy Policy
Impressum, Datenschutzerklärung
Cerberus X Documentation
Class StringDeque
StringDeque is a convenience class for handling deques of string values. More...
Declarations
Extends | |
Deque : <String> |
A deque is a 'double ended queue'. |
Inherited Properties | |
IsEmpty : Bool () |
Returns true if the deque is empty. |
Length : Int () |
Returns the number of items in the deque. |
Inherited Constructors | |
New () |
Creates a new empty deque. |
New ( data:T[] ) |
Creates a new deque containing the elements of data. |
Inherited Methods | |
Clear : Void () |
Removes all items from the deque. |
Get : T ( index:Int ) |
Returns an item at the given index from the deque. |
ObjectEnumerator : Object () |
Returns an object enumerator for use with For Eachin loops. |
PopFirst : T () |
Removes an item from the beginning of the deque. |
PopLast : T () |
Removes an item from the end of the deque. |
PushFirst : Void ( value:T ) |
Adds an item to the beginning of the deque. |
PushLast : Void ( value:T ) |
Adds an item to the end of the deque. |
Set : Void ( index:Int, value:T ) |
Sets an item at the given index. |
ToArray : T[] () |
Converts the deque to an array. |
Detailed Discussion
StringDeque is a convenience class for handling deques of string values.