public class CircularLinkedList
{
    public CircularLinkedList ()
    {
    }

    public void add (int value)
    {
        Node n = new Node(value);
        
        if (_head == null)
            _head = n;
        else
            _tail.setNext(n);

        _tail = n;
        _tail.setNext(_head);
    }

    private int _size;
    private Node _head = null;
    private Node _tail = null;
    private Node _current = null;
}
@@ -62,24 +62,84 @@
 st ()%0A    %7B%0A
+        _size = 0;%0A        _head = _tail = _current = null;%0A
     %7D%0A%0A    p
@@ -409,23 +409,16 @@
 de _head
- = null
 ;%0A    pr
@@ -433,23 +433,16 @@
 de _tail
- = null
 ;%0A    pr
@@ -460,18 +460,11 @@
 _current
- = null
 ;%0A%7D

Update CircularLinkedList.java