The binary tree ADT extends the Tree (ADT). It has additional methods:

  • position left(v): return the left child of
  • position right(v): return the right child of
  • boolean hasLeft(v): test whether has a left child
  • boolean hasRight(v): test whether has a right child