public boolean removeAccept(String acceptStr){
  boolean modified=false;
  for (  Accept accept : getAccepts()) {
    if (acceptStr.equals(accept.getValue())) {
      super.removeElement(Accept.KEY,accept);
      modified=true;
    }
  }
  return modified;
}

public boolean removeAccept ( String acceptStr ) { boolean modified = false ; for ( Accept accept : getAccepts ( ) ) { if ( acceptStr . equals ( accept . getValue ( ) ) ) { super . removeElement ( Accept . KEY , accept ) ; modified = true ; } } return modified ; }
removes an accept string .
