|
|
|
InsertAfter (ListNode, ListNode)
|
/** Adds a Node after another specified Node.
@param {&NodeType} The node to insert the new node after.
@param {&NodeType} The new node to insert. */
|
|
|
|
InsertFirst (ListNode)
|
/** Adds a Node in the first position. Will move the linked list along.
The new node cannot have a valid Next property.
@param {&NodeType} The node to insert. */
|
|
|
|
InsertLast (ListNode)
|
/** Adds a Node at the end of the list.
@param {&NodeType} The node to insert. */
|
|
|
|
RemoveAfter (ListNode)
|
/** Removes a Node after another specified Node. Ensures the list is still
linked.
@param {&NodeType} The node to insert the new node after. */
|
|
|
|
RemoveFirst ()
|
/** Removes the first node, and replaces it with the next in the list.
Equivalent to a stack pop. */
|