Iterable < E > function ( ) { List < E > loc0 = new ArrayList < > ( ) ; preOrderSubtree ( root , loc0 ) ; return loc0 ; }
returns an iterable collection of elements of the tree , reported in pre-order . concode_field_sep Node<E> root concode_elem_sep Node<E> left concode_elem_sep Node<E> right concode_elem_sep E element concode_field_sep void setLeft concode_elem_sep void toStringRec concode_elem_sep boolean isEmpty concode_elem_sep void preOrderSubtree concode_elem_sep void insert concode_elem_sep Node<E> insert concode_elem_sep void processBstByLevel concode_elem_sep void postOrderSubtree concode_elem_sep void remove concode_elem_sep Node<E> remove concode_elem_sep Iterable<E> postOrder concode_elem_sep E smallestElement concode_elem_sep E smallestElement concode_elem_sep Node<E> getRight concode_elem_sep int size concode_elem_sep int size concode_elem_sep Map<Integer,List<E>> nodesByLevel concode_elem_sep Node<E> find concode_elem_sep E getElement concode_elem_sep Node<E> root concode_elem_sep Iterable<E> inOrder concode_elem_sep void setRight concode_elem_sep String toString concode_elem_sep void setElement concode_elem_sep void inOrderSubtree concode_elem_sep int height concode_elem_sep int height concode_elem_sep Node<E> getLeft