/** * Write a description of class Node here. * * @author (your name) * @version (a version number or a date) */ public class Node { // instance variables - replace the example below with your own public Node next, previous; public Object data; /** * Constructor for objects of class Node */ public Node() { data = null; next = null; previous = null; } /** * Constructor with a data parameter */ public Node( Object data ) { this.data = data; next = null; previous = null; } }