protected boolean addTerm ( ) { final boolean termAdded = ! tokens . isEmpty ( ) ; if ( termAdded ) { final String term = tokens . pop ( ) ; clearAttributes ( ) ; termAtt . append ( term ) ; } return termAdded ; }
Adds a term if one exists from the tokens collection .