TLinkedList<T>.AddFirst(TLinkedListNode<T>) Method
Adds the specified new node at the start of the ILinkedList<T> .
public procedure AddFirst(const node: TLinkedListNode<T>); overload;
Parameters
- node
- Type: TLinkedListNode<T>
The new TLinkedListNode<T> to add at the start of the ILinkedList<T> .
Implements
ILinkedList<T>.AddFirst(TLinkedListNode<T>)- Spring.EArgumentNullException
- node is nil.
- Spring.EInvalidOperationException
- node belongs to another ILinkedList<T> .