public boolean acceptsRoadName(String road){
  if (_roadOption.equals(ALL_ROADS)) {
    return true;
  }
  if (_roadOption.equals(INCLUDE_ROADS)) {
    return _roadList.contains(road);
  }
  return !_roadList.contains(road);
}

public boolean acceptsRoadName ( String road ) { if ( _roadOption . equals ( ALL_ROADS ) ) { return true ; } if ( _roadOption . equals ( INCLUDE_ROADS ) ) { return _roadList . contains ( road ) ; } return ! _roadList . contains ( road ) ; }
determine if train will service a specific road name .
