|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectworld.WorldTravelInfoProvider
A provider of travel information on world.
Constructor Summary | |
WorldTravelInfoProvider()
Constructor. |
Method Summary | |
java.util.ArrayList |
GetAirportsInRange(int minX,
int minY,
int maxX,
int maxY)
Gets all the airports located in the specified rectangle. |
java.util.ArrayList |
GetBusStopsInRange(int minX,
int minY,
int maxX,
int maxY)
Gets all the bus stops located in the specified rectangle. |
java.util.ArrayList |
GetConnectionsForStation(Station station,
int meanOfTransportation)
Gets a list of all connections leaving from the given station. |
java.util.ArrayList |
GetHarboursInRange(int minX,
int minY,
int maxX,
int maxY)
Gets all the harbours located in the specified rectangle. |
java.util.ArrayList |
GetTrainStationsInRange(int minX,
int minY,
int maxX,
int maxY)
Gets all the train stations located in the specified rectangle. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorldTravelInfoProvider()
Method Detail |
public java.util.ArrayList GetAirportsInRange(int minX, int minY, int maxX, int maxY)
LocationsTravelInfoProvider
GetAirportsInRange
in interface LocationsTravelInfoProvider
minX
- The minimal X coordinate of the rectangle.minY
- The minimal Y coordinate of the rectangle.maxX
- The maximal X coordinate of the rectangle.maxY
- The maximal Y coordinate of the rectangle.
LocationsTravelInfoProvider.GetAirportsInRange(int, int, int, int)
public java.util.ArrayList GetBusStopsInRange(int minX, int minY, int maxX, int maxY)
LocationsTravelInfoProvider
GetBusStopsInRange
in interface LocationsTravelInfoProvider
minX
- The minimal X coordinate of the rectangle.minY
- The minimal Y coordinate of the rectangle.maxX
- The maximal X coordinate of the rectangle.maxY
- The maximal Y coordinate of the rectangle.
LocationsTravelInfoProvider.GetBusStopsInRange(int, int, int, int)
public java.util.ArrayList GetHarboursInRange(int minX, int minY, int maxX, int maxY)
LocationsTravelInfoProvider
GetHarboursInRange
in interface LocationsTravelInfoProvider
minX
- The minimal X coordinate of the rectangle.minY
- The minimal Y coordinate of the rectangle.maxX
- The maximal X coordinate of the rectangle.maxY
- The maximal Y coordinate of the rectangle.
LocationsTravelInfoProvider.GetHarboursInRange(int, int, int, int)
public java.util.ArrayList GetTrainStationsInRange(int minX, int minY, int maxX, int maxY)
LocationsTravelInfoProvider
GetTrainStationsInRange
in interface LocationsTravelInfoProvider
minX
- The minimal X coordinate of the rectangle.minY
- The minimal Y coordinate of the rectangle.maxX
- The maximal X coordinate of the rectangle.maxY
- The maximal Y coordinate of the rectangle.
LocationsTravelInfoProvider.GetTrainStationsInRange(int, int, int, int)
public java.util.ArrayList GetConnectionsForStation(Station station, int meanOfTransportation)
ConnectionsTravelInfoProvider
GetConnectionsForStation
in interface ConnectionsTravelInfoProvider
station
- A station for which to search for the conenctions.meanOfTransportation
- A mean of transportation the connections should be searched for.
ConnectionsTravelInfoProvider.GetConnectionsForStation(Station, int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |