depth method

int depth()
override

Returns the number of items in the tree.

@return the number of items in the tree

Implementation

int depth() {
  return super.depth();
}