Skip to main content Link Menu Expand (external link) Document Search Copy Copied

void resetEnd()

Moves the current node to the end of the list

Example

LinkedList<int> list = {3, 4, 5};
list.resetEnd();
//current is now at 5