| Package | ch.capi.data |
| Interface | public interface IQueue extends IDataStructure , IList |
| Implementors | QueueList |
| Method | Defined By | ||
|---|---|---|---|
![]() | add(element:*):void
Add an element to the data structure. | IDataStructure | |
![]() | addElement(element:*):void
Add an element in the IList. | IList | |
![]() | addElementAt(element:*, index:int):void
Add an element in 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 in this IList. | IList | |
![]() | contains(element:*, compare:Function = null):Boolean
Returns true if the specified element is contained in the IList
or false otherwise. | IList | |
![]() | getElementAt(index:int):*
Get the element at the specified index. | IList | |
![]() | getElementIndex(element:*):int
Get the index of the specified element. | IList | |
getFirstElement():*
Get the first element of the IQueue. | IQueue | ||
getLastElement():*
Get the last element of the IQueue. | IQueue | ||
![]() | 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 | |