private void resetState ( ) { meta = null ; splits = null ; rule_idx = 0 ; split_idx = 0 ; current_branch = null ; rule = null ; not_matched = null ; if ( root != null ) { if ( root . getBranches ( ) != null ) { root . getBranches ( ) . clear ( ) ; } if ( root . getLeaves ( ) != null ) { root . getLeaves ( ) . clear ( ) ; } } test_messages = new ArrayList < String > ( ) ; }
Resets local state variables to their defaults