Class Node<T>

    • Method Detail

      • getElement

        public T getElement()
      • setElement

        public void setElement(T element)
      • getNumberOfChildren

        public int getNumberOfChildren()
      • getChild

        public TreeNode<T> getChild(int i)
      • add

        public Node<T> add(T element)
      • compareTo

        public int compareTo(Node<T> o)
      • getHeight

        public int getHeight()
      • contains

        public boolean contains(T s)
      • find

        public Node<T> find(T s)