/** class Node can be an inner class inside of CircularList * -- basic linked list node * * @author Rhys Price Jones * @version 24x08 */ // public or private or protected... class Node { private T data; private Node next; public Node(T stuff, Node next) { data = stuff; this.next = next; } public T getData() { return data; } public Node getNext() { return next; } public void setNext(Node n) { next = n; } }