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

void popCurrentNext()

Removes the current node, then shifts the current node right by 1

Example

LinkedList<int> list = {3, 4, 5};
list.moveCurrentRight();
list.popCurrentNext();
//list now contains {3, 5}
//the current node is now on 5