Package | com.boostworthy.collections |
Class | public class Stack |
Implements | ICollection, IDisposable |
Subclasses | TweenStack |
See also
Property | Defined by | ||
---|---|---|---|
length : uint [read-only]
Gets the length of this collection.
| Stack |
Property | Defined by | ||
---|---|---|---|
m_aData : Array
Array for storing all data in this collection.
| Stack |
Method | Defined by | ||
---|---|---|---|
Stack()
Constructor.
| Stack | ||
addElement(objElement:Object):void
Adds a new element to this object's collection.
| Stack | ||
dispose():void
Performs any appropriate clean-up tasks for garbage collection such as
removing event listeners, setting object references to 'null', etc.
| Stack | ||
getIterator(uIterator:uint = 2):IIterator
Returns an iterator of the specified type.
| Stack | ||
removeElement(objElement:Object):void
Removes an element from this object's collection.
| Stack |
length | property |
length:uint
[read-only]Gets the length of this collection.
Implementation public function get length():uint
m_aData | property |
protected var m_aData:Array
Array for storing all data in this collection.
Stack | () | constructor |
public function Stack()
Constructor.
addElement | () | method |
public function addElement(objElement:Object):void
Adds a new element to this object's collection.
ParametersobjElement:Object — The element to add to this object.
|
dispose | () | method |
public function dispose():void
Performs any appropriate clean-up tasks for garbage collection such as removing event listeners, setting object references to 'null', etc.
getIterator | () | method |
public function getIterator(uIterator:uint = 2):IIterator
Returns an iterator of the specified type.
ParametersuIterator:uint (default = 2 ) — The iterator type to use for iterating through the data being stored by this collection. Default is '2' (IteratorType.ARRAY_FORWARD).
|
IIterator —
An iterator instance of the specified type.
|
See also
removeElement | () | method |
public function removeElement(objElement:Object):void
Removes an element from this object's collection.
ParametersobjElement:Object — The element to remove from this object.
|