| TList: | Methods | Functions |
| Clear | Clear a linked list |
| IsEmpty | Check if list is empty |
| Contains | Check if list contains a value |
| AddFirst | Add an object to the start of the list |
| AddLast | Add an object to the end of the list |
| First | Returns the first object in the list |
| Last | Returns the last object in the list |
| RemoveFirst | Removes and returns the first object in the list. |
| RemoveLast | Removes and returns the last object in the list. |
| FirstLink | Returns the first link the list or null if the list is empty. |
| LastLink | Returns the last link the list or null if the list is empty. |
| InsertBeforeLink | Inserts an object before the specified list link. |
| InsertAfterLink | Inserts an object after the specified list link. |
| FindLink | Returns the first link in the list with the given value, or null if none found. |
| ValueAtIndex | Returns the value of the link at the given index. |
| Count | Count list length |
| Remove | Remove an object from a linked list |
| Swap | Swap contents with the list specified. |
| Copy | Creates an identical copy of the list. |
| Reverse | Reverse the order of the list. |
| Reversed | Creates a new list that is the reversed version of this list. |
| Sort | Sort a list in either ascending (default) or decending order. |
| ToArray | convert a list to an array |
| FromArray | Create a list from an array |
| Method Clear() | |
| Description | Clear a linked list |
| Information | Removes all objects from list. |
| Method IsEmpty() | |
| Returns | True if list is empty, else false |
| Description | Check if list is empty |
| Method Contains( value:Object ) | |
| Returns | True if list contains value, else false |
| Description | Check if list contains a value |
| Method AddFirst:TLink( value:Object ) | |
| Returns | A link object |
| Description | Add an object to the start of the list |
| Method AddLast:TLink( value:Object ) | |
| Returns | A link object |
| Description | Add an object to the end of the list |
| Method First:Object() | |
| Description | Returns the first object in the list |
| Information | Returns Null if the list is empty. |
| Method Last:Object() | |
| Description | Returns the last object in the list |
| Information | Returns Null if the list is empty. |
| Method RemoveFirst:Object() | |
| Description | Removes and returns the first object in the list. |
| Information | Returns Null if the list is empty. |
| Method RemoveLast:Object() | |
| Description | Removes and returns the last object in the list. |
| Information | Returns Null if the list is empty. |
| Method FirstLink:TLink() | |
| Description | Returns the first link the list or null if the list is empty. |
| Method LastLink:TLink() | |
| Description | Returns the last link the list or null if the list is empty. |
| Method InsertBeforeLink:TLink( value:Object,succ:TLink ) | |
| Description | Inserts an object before the specified list link. |
| Method InsertAfterLink:TLink( value:Object,pred:TLink ) | |
| Description | Inserts an object after the specified list link. |
| Method FindLink:TLink( value:Object ) | |
| Description | Returns the first link in the list with the given value, or null if none found. |
| Method ValueAtIndex:Object( index ) | |
| Description | Returns the value of the link at the given index. |
| Information | Throws an exception if the index is out of range (must be 0..list.Count()-1 inclusive). |
| Method Count() | |
| Returns | The numbers of objects in list. |
| Description | Count list length |
| Method Remove( value:Object ) | |
| Description | Remove an object from a linked list |
| Information | Remove scans a list for the specified value and removes its link. |
| Method Swap( list:TList ) | |
| Description | Swap contents with the list specified. |
| Method Copy:TList() | |
| Description | Creates an identical copy of the list. |
| Method Reverse() | |
| Description | Reverse the order of the list. |
| Method Reversed:TList() | |
| Description | Creates a new list that is the reversed version of this list. |
| Method Sort( ascending=True,compareFunc( o1:Object,o2:Object ) ) | |
| Description | Sort a list in either ascending (default) or decending order. |
| Information | User types should implement a Compare method in order to be sorted. |
| Method ToArray:Object[]() | |
| Returns | An array of objects |
| Description | convert a list to an array |
| Function FromArray:TList( arr:Object[] ) | |
| Returns | A new linked list |
| Description | Create a list from an array |