public boolean deleteRoadName(String road){
  if (!_roadList.contains(road)) {
    return false;
  }
  _roadList.remove(road);
  log.debug("train (" + getName() + ") delete car road "+ road);
  setDirtyAndFirePropertyChange(ROADS_CHANGED_PROPERTY,_roadList.size() + 1,_roadList.size());
  return true;
}

public boolean deleteRoadName ( String road ) { if ( ! _roadList . contains ( road ) ) { return false ; } _roadList . remove ( road ) ; log . debug ( "train (" + getName ( ) + ") delete car road " + road ) ; setDirtyAndFirePropertyChange ( ROADS_CHANGED_PROPERTY , _roadList . size ( ) + 1 , _roadList . size ( ) ) ; return true ; }
delete a road name that the train will either service or exclude . see setroadoption
