public void updateTree(B_Tree <ComparableInt> b_Tree) { bTree = b_Tree; Invalidate(); foundedKey = null; foundedNode = null; }
public void updateTreeWithFoundedElement(B_Tree <ComparableInt> b_Tree, ComparableInt key, B_Tree_Node <ComparableInt> inNode) { foundedKey = key; foundedNode = inNode; bTree = b_Tree; Invalidate(); }
public int CompareTo(object obj) { if (obj is ComparableInt) { ComparableInt n = obj as ComparableInt; return(Value.CompareTo(n.Value)); } else { throw new ArgumentException(); } }