Package | ch.capi.data |
Interface | public interface IStack extends IDataStructure, IList |
Implementors | StackList |
Method | Defined by | ||
---|---|---|---|
add(element:*):void
Add an element to the data structure.
| IDataStructure | ||
addElement(element:*):void
Add an element into the
IList . | IList | ||
addElementAt(element:*, index:int):void
Add an element into the
IList at the specified index. | IList | ||
clear():void
Removes all the elements from the data structure.
| IDataStructure | ||
clear():void
Removes all the elements contained into this
IList . | IList | ||
getElementAt(index:int):*
Get the element at the specified index.
| IList | ||
getElementIndex(element:*):int
Get the index of the specified element.
| IList | ||
getTopElement():*
Get the top element of the
IStack . | IStack | ||
isEmpty():Boolean
Get if the structure is empty or not.
| IDataStructure | ||
remove():*
Removes an element from the data structure.
| IDataStructure | ||
removeElement(element:*):void
Removes an element from the
IList . | IList | ||
removeElementAt(index:int):*
Removes the element at the specified index from the
IList . | IList | ||
toArray():Array
Retrieves an
Array from the IList . | IList |