ILinkedList<T>.AddLast Method
Overloads
| AddLast(TLinkedListNode<T>) |
Adds the specified new node at the end of the ILinkedList<T> . |
| AddLast(T) |
Adds a new node containing the specified value at the end of the ILinkedList<T> . |
Adds the specified new node at the end of the ILinkedList<T> .
Delphi
procedure AddLast(const node: TLinkedListNode<T>)
Parameters
- node
- TLinkedListNode<T>
The new TLinkedListNode<T> to add at the end of the ILinkedList<T> .
Exceptions
node is nil .
node belongs to another ILinkedList<T>
.
Adds a new node containing the specified value at the end of the ILinkedList<T> .
Delphi
function AddLast(const value: T): TLinkedListNode<T>
Parameters
- value
- T
The value to add at the end of the ILinkedList<T> .
Returns
TLinkedListNode<T>
The new TLinkedListNode<T>
containing value .