| Constructor and Description |
|---|
StationHLApi(String name) |
| Modifier and Type | Method and Description |
|---|---|
List<Station> |
connected() |
Station |
connected(Line line) |
boolean |
connected(Station station) |
String |
getName() |
List<Station> |
intermediateStations(Station station) |
List<Station> |
nearby() |
boolean |
nearby(Station station) |
long |
numberConnections() |
long |
numberNearbyStations() |
long |
numberReachableStations() |
boolean |
reachable(Station station) |
String |
toString() |
public StationHLApi(String name)
public String getName()
public boolean connected(Station station)
public long numberConnections()
numberConnections in interface Stationpublic boolean nearby(Station station)
public long numberNearbyStations()
numberNearbyStations in interface Stationpublic boolean reachable(Station station)
public long numberReachableStations()
numberReachableStations in interface Stationpublic List<Station> intermediateStations(Station station)
intermediateStations in interface Stationstation - a station.Copyright © 2014. All rights reserved.