public void remove ( String toRemove ) { if ( toRemove . contains ( "*" ) ) { set . clear ( ) ; defaultContains = false ; } else { if ( defaultContains ) { set . add ( toRemove ) ; } else { set . remove ( toRemove ) ; } } }
Remove some tokens from the list . If the list is already empty or does not contains the tokens this method will have no effect .