|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface defining the methods to access a source of the travel information on the world.
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 |
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. |
Method Detail |
public java.util.ArrayList GetAirportsInRange(int minX, int minY, int maxX, int maxY)
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.
public java.util.ArrayList GetTrainStationsInRange(int minX, int minY, int maxX, int maxY)
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.
public java.util.ArrayList GetBusStopsInRange(int minX, int minY, int maxX, int maxY)
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.
public java.util.ArrayList GetHarboursInRange(int minX, int minY, int maxX, int maxY)
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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |