TLinkedList<T>.AddFirst(T) Method

Adds a new node containing the specified value at the start of the ILinkedList<T> .

Namespace: Spring.Collections.LinkedLists
public
 function AddFirst(const value: T): TLinkedListNode<T>; overload;

Parameters

value
Type: T

The value to add at the start of the ILinkedList<T> .

Return Value

Type: TLinkedListNode<T>

The new TLinkedListNode<T> containing value.

Implements

ILinkedList<T>.AddFirst(T)