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

void moveCurrentLeft()

Moves the current node close to the base node

Example

LinkedList<int> list = {3, 4, 5, 6};
list.setCurrent(list.getEnd());
//current is now at 6
list.moveCurrentLeft();
//current is now at 5
list.setCurrent(list.getBase());
//current is now at 3
list.moveCurrentLeft();
//does nothing