// Quickly banged together Linked-list Node // 4/17/2001 // Distribute it however you like. (With the 'MyLinkedList' class, of course) public class MyLinkedListNode { private Object data; private MyLinkedListNode next; // Dummy node public MyLinkedListNode() { next = null; } public MyLinkedListNode(Object data) { this.data = data; } public MyLinkedListNode getNext() { return next; } public void setNext(MyLinkedListNode next) { this.next = next; } public Object getData() { return data; } }