public boolean acceptsLoad(String load,String type){
  if (_loadOption.equals(ALL_LOADS)) {
    return true;
  }
  if (_loadOption.equals(INCLUDE_LOADS)) {
    return _loadList.contains(load) || _loadList.contains(type + CarLoad.SPLIT_CHAR + load);
  }
  return !_loadList.contains(load) && !_loadList.contains(type + CarLoad.SPLIT_CHAR + load);
}

public boolean acceptsLoad ( String load , String type ) { if ( _loadOption . equals ( ALL_LOADS ) ) { return true ; } if ( _loadOption . equals ( INCLUDE_LOADS ) ) { return _loadList . contains ( load ) || _loadList . contains ( type + CarLoad . SPLIT_CHAR + load ) ; } return ! _loadList . contains ( load ) && ! _loadList . contains ( type + CarLoad . SPLIT_CHAR + load ) ; }
determine if train will service a specific load and car type .
