ILinkedList
Short summary
Interface for the LinkedList, a specialisation of the List. Linked Lists consist of a Head and a Tail/End of LinkedElements, forming a chain of pointers to their neighbours. They are expected to be based on IDoublyLinkedElements and therefore be DoublylinkedLists. (This is required by the LinkedListSorter)
| Access | Abstract | Final | Extends | Implements |
|---|---|---|---|---|
| - | No | No | IList | - |
UML Diagram
Methods
setSorter
- Parameters:
sorter(ILinkedListSorter): The instance of the sorter to be used to sort the list
- Return type: ISortable
This method can replace the default sorter for a custom one. Check :ref:ILinkedListSorter…
Code
Declaration
INTERFACE ILinkedList EXTENDS IList