ILinkedList<T>.AddAfter(TLinkedListNode<T>,T) Method
Adds a new node containing the specified value after the specified existing node in the ILinkedList<T> .
public function AddAfter(const node: TLinkedListNode<T>; const value: T): TLinkedListNode<T>; overload;
Parameters
- node
- Type: TLinkedListNode<T>
The TLinkedListNode<T> after which to insert a new TLinkedListNode<T> containing value.
- value
- Type: T
The value to add to the ILinkedList<T> .
- Spring.EArgumentNullException
- node is nil.
- Spring.EInvalidOperationException
- node is not in the current ILinkedList<T> .