public void Add(Node node) { node.header = this; // The node being added points down to the header node.down = this; node.up = this.up; this.up.down = node; this.up = node; count++; }
public Node() { left = right = up = down = this; }