@ Override public long calculateHeight ( ImprintNode node ) { Util . notNull ( node , "Node" ) ; return hashTreeBuilder . calculateHeight ( calculateNewNode ( node ) ) ; }
Calculates the binary tree height if new leaf would be added .