public class TripPatternKey
extends java.lang.Object
| Constructor and Description |
|---|
TripPatternKey(java.lang.String shapeId,
java.util.List<StopPath> paths)
Construct TripPatternBase.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Needed so can have Set/Map of TripPatterns and looking
up elements will be quick and proper.
|
java.lang.String |
getShapeId() |
java.util.List<StopPath> |
getStopPaths() |
int |
hashCode()
Needed so can have Set/Map of TripPatterns and looking
up elements will be quick and proper.
|
public TripPatternKey(java.lang.String shapeId,
java.util.List<StopPath> paths)
shapeId - from the trip.txt GTFS filestopPaths - Specifies the stops for the trip pattern. Must
not be null.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String getShapeId()
public java.util.List<StopPath> getStopPaths()