| Modifier and Type | Field and Description |
|---|---|
static String |
STATION_FUNCTOR_NAME |
| Constructor and Description |
|---|
StationLLApi(String name) |
| Modifier and Type | Method and Description |
|---|---|
Compound |
asTerm() |
List<Station> |
connected() |
Station |
connected(Line line) |
boolean |
connected(Station station) |
static StationLLApi |
create(Term stationTerm) |
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 static final String STATION_FUNCTOR_NAME
public StationLLApi(String name)
public static StationLLApi create(Term stationTerm)
public String getName()
public Compound asTerm()
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.