(Available since version 1.0)
LinkedList::remove — Remove/extract the item at the specified index
Remove the item at the specified
index
, shuffling the next value
(and all subsequent values) down through the list.
Note:
Similar to LinkedList::add() this method runs in Θ(n) amortized time due to the required seek operation.
offset
The index of the item to be removed.
The removed item.
Throws SEIDS::LinkedLists::OutOfRangeException when
index
is out of bounds or when index
cannot be parsed as an integer.