public class Node { Object element; Node next; Node previous; LinkedList list ; public Node(Object x){ element=x; } }