Hi everyone

am new here,
I have midterm on Monday and i wrote this method
in the class but i forgat how it is work ?
can any body tell me ?

Code:
	public void remove(int n)
	{
		CurNode current = last;
		while (current.getNext() != current)
		{
			for (int i = 1; i <n; i++)
                            {
				current = current.getNext();
...