public void linkup(LeftHeapNode v) { if ((this.getParent() != null) && (v != null)) { final LeftHeapNode tmp = this.getParent(); v.setRight(this); this.setParent(v); v.setParent(tmp); v.getParent().setRight(v); } }
public LeftHeapNode(LeftHeapNode v) { this(v.D, v.getKey(), v.x, v.y); }