| ArrayedQueue | 
A queue based on an array (circular queue). This is called a FIFO structure (First In, First Out).
| ArrayedQueue | A queue based on an array (circular queue). | 
| Functions and Properties | |
| ArrayedQueue | Initializes a queue object to match the given size. | 
| maxSize | The queue’s maximum capacity. | 
| peek | Indicates the front item. | 
| back | Indicates the most recently added item. | 
| enqueue | Enqueues some data. | 
| dequeue | Dequeues and returns the front item. | 
| dispose | Deletes the last dequeued item to free it for the garbage collector. | 
| getAt | Reads an item relative to the front index. | 
| setAt | Writes an item relative to the front index. | 
| contains | @inheritDoc | 
| clear | @inheritDoc | 
| getIterator | @inheritDoc | 
| size | @inheritDoc | 
| isEmpty | @inheritDoc | 
| toArray | @inheritDoc | 
| toString | Prints out a string representing the current object. | 
| dump | Prints out all elements (for debug/demo purposes). | 
| init | @private | 
Initializes a queue object to match the given size.
public function ArrayedQueue( size: int ) 
The queue’s maximum capacity.
public function get maxSize():int 
Indicates the front item.
public function peek():* 
Indicates the most recently added item.
public function back():* 
Enqueues some data.
public function enqueue( obj: * ):Boolean 
Dequeues and returns the front item.
public function dequeue():* 
Deletes the last dequeued item to free it for the garbage collector.
public function dispose():void 
Reads an item relative to the front index.
public function getAt( i: int ):* 
Writes an item relative to the front index.
public function setAt( i: int, obj: * ):void 
@inheritDoc
public function contains( obj: * ):Boolean 
@inheritDoc
public function clear():void 
@inheritDoc
public function getIterator():Iterator 
@inheritDoc
public function get size():int 
@inheritDoc
public function isEmpty():Boolean 
@inheritDoc
public function toArray():Array 
Prints out a string representing the current object.
public function toString():String 
Prints out all elements (for debug/demo purposes).
public function dump():String 
@private
private function init( size: int ):void