private boolean addStatement ( StringBuffer statementBuffer ) { if ( statementBuffer . length ( ) > 0 ) { elements . add ( new Predicate ( statementBuffer . toString ( ) ) ) ; elementsArray = elements . toArray ( ) ; statementBuffer . delete ( 0 , statementBuffer . length ( ) ) ; return true ; } return false ; }
Adds a new statement to this Expression s elements . Clears the statementBuffer .