Packagesekati.collections
Classpublic class DisplayListQueue
InheritanceDisplayListQueue Inheritance DisplayListCollection
ImplementsIQueue

DisplayList based Queue data structure.



Public Properties
 PropertyDefined by
 Inheritedcontainer : DisplayObjectContainer
Return the collection container data
DisplayListCollection
 Inheritedcount : uint
How many items exist within the collection.
DisplayListCollection
  head : Object
[read-only] The next object in queue, would be return and removed on a subsequent call to dequeue.
DisplayListQueue
 InheritedisEmpty : Boolean
Whether or not this collection is empty.
DisplayListCollection
Public Methods
 MethodDefined by
  
DisplayListQueue(container:DisplayObjectContainer = null)
DisplayListQueue Constructor creates a new DisplayListQueue.
DisplayListQueue
 Inherited
clear():void
Removes all items from the collection.
DisplayListCollection
  
dequeue():Object
Remove and returns the next object in the queue.
DisplayListQueue
  
enqueue(o:Object):void
Add an object to end of the queue.
DisplayListQueue
 Inherited
The iterator used to handle going through the collection.
DisplayListCollection
Property detail
headproperty
head:Object  [read-only]

The next object in queue, would be return and removed on a subsequent call to dequeue.

Implementation
    public function get head():Object
Constructor detail
DisplayListQueue()constructor
public function DisplayListQueue(container:DisplayObjectContainer = null)

DisplayListQueue Constructor creates a new DisplayListQueue. You may have it wrap an existing DisplayObjectContainer or the constructor will create an empty Sprite for you.

Parameters
container:DisplayObjectContainer (default = null)
Method detail
dequeue()method
public function dequeue():Object

Remove and returns the next object in the queue.

Returns
Object
enqueue()method 
public function enqueue(o:Object):void

Add an object to end of the queue.

Parameters
o:Object