public boolean deleteLoadName(String load){
  if (!_loadList.contains(load)) {
    return false;
  }
  _loadList.remove(load);
  log.debug("train (" + getName() + ") delete car load "+ load);
  setDirtyAndFirePropertyChange(LOADS_CHANGED_PROPERTY,_loadList.size() + 1,_loadList.size());
  return true;
}

public boolean deleteLoadName ( String load ) { if ( ! _loadList . contains ( load ) ) { return false ; } _loadList . remove ( load ) ; log . debug ( "train (" + getName ( ) + ") delete car load " + load ) ; setDirtyAndFirePropertyChange ( LOADS_CHANGED_PROPERTY , _loadList . size ( ) + 1 , _loadList . size ( ) ) ; return true ; }
delete a load name that the train will either service or exclude . see setloadoption
