public void SetRight(BinaryNode <T> right) => this.right = right;
public BinaryNode(T element, BinaryNode <T> left, BinaryNode <T> right) { this.element = element; this.left = left; this.right = right; }
public void SetLeft(BinaryNode <T> left) => this.left = left;
public BinaryNode(T element) { this.element = element; this.left = null; this.right = null; }