Tree<T> constructor

Tree<T>(
  1. T rootValue
)

Creates a new tree with the given root value

Implementation

Tree(T rootValue) : root = TreeElement(rootValue, null);