|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Station in transport |
---|
Methods in transport that return Station | |
---|---|
Station |
TripSection.getDestination()
Returns the destination of the trip section |
Station |
TripSection.getOrigin()
Returns the origin of the trip section. |
Station |
Network.getStationForName(java.lang.String name)
Returns the station with the given name in the network, if there is such a station, or null otherwise. |
Station |
Line.getStationForName(java.lang.String name)
Returns the station with the given name on the line, if there is such a station, or null otherwise. |
Methods in transport that return types with arguments of type Station | |
---|---|
java.util.List<Station> |
Line.getStations()
Returns the ordered list of stations belonging to the line. |
Methods in transport with parameters of type Station | |
---|---|
java.util.List<TripSection> |
Network.calculateTrip(Station origin,
Station destination)
Calculate a trip (journey) in the transportation network, from a given origin to a given destination. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |