public void ToStringAll() {

    if ((this.left == null) && (this.right == null)) {
      String a = "L[] R[]";
      System.out.print(a);
    } else if ((this.left == null) && (this.right != null)) {
      String a = " L[]R[" + this.right.value + "] ";
      System.out.print(a);
      right.ToStringAll();
    } else if ((this.right == null) && (this.left != null)) {
      String a = " L[" + this.left.value + "R[]";
      System.out.print(a);
      left.ToStringAll();
    } else if ((this.right != null) && (this.left != null)) {
      String a = " L[" + this.left.value + "R[" + this.right.value + "] ";
      System.out.print(a);
      right.ToStringAll();
      left.ToStringAll();
    }
  }