public void remove(E e){
  if (objects.contains(e)) {
    objects.remove(e);
  }
}

public void remove ( E e ) { if ( objects . contains ( e ) ) { objects . remove ( e ) ; } }
remove the given object from the set if it is present .
