public abstract class TimetableFilter extends Modification
Modifier and Type | Field and Description |
---|---|
String |
agencyId
Agency ID to match.
|
Collection<String> |
routeId
Route IDs to match, or null for all
|
int[] |
routeType
GTFS route types to match, see constants in com.conveyal.gtfs.model.Route
|
Collection<String> |
tripId
Trip IDs to match, or null for all
|
warnings
Constructor and Description |
---|
TimetableFilter() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
couldMatch(TripPattern pattern)
Could any trip on this trip pattern possibly match this filter?
|
protected boolean |
matches(org.onebusaway.gtfs.model.Trip trip)
Does this TripTimes match the match parameters defined here?
|
getType, setType
public String agencyId
public Collection<String> routeId
public Collection<String> tripId
public int[] routeType
protected boolean couldMatch(TripPattern pattern)
protected boolean matches(org.onebusaway.gtfs.model.Trip trip)
Copyright © 2018. All rights reserved.