public class DoubleListNode {private Object value; // for doubly linked list private DoubleListNode next; private DoubleListNode previous; DoubleListNode (Object initValue, DoubleListNode initNext,DoubleListNode initPrevious) {value = initValue; next = initNext; previous = initPrevious; } public Object getValue() {return value; } public DoubleListNode getNext() {return next; } public DoubleListNode getPrevious() {return previous; } public void setValue(Object theNewValue) {value = theNewValue; } public void setNext(DoubleListNode theNewNext) {next = theNewNext; } public void setPrevious(DoubleListNode theNewPrevious) {previous = theNewPrevious; } }