ILinkedList<T>.AddAfter(TLinkedListNode<T>,T) Method

Adds a new node containing the specified value after the specified existing node in the ILinkedList<T> .

Namespace: Spring.Collections
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> .

Return Value

Type: TLinkedListNode<T>

The new TLinkedListNode<T> containing value.