| Constructor | Description |
|---|---|
DriverImpl(UrbanizationsTreatmentService service) |
Driver class constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAdjacent(String urbanizationId,
Directions direction) |
Given an identifier and adjacency address returns the identifier of the adjacent urbanization.
|
String |
getUrbanizationId(Double coordinateX,
Double coordinateY) |
Given some coordinates, return the identifier of the urbanization in which they are enclosed coordinates.
|
getUrbanizationspublic DriverImpl(UrbanizationsTreatmentService service)
service - instance of the service to be used. It can be a simulated or real service.public String getUrbanizationId(Double coordinateX, Double coordinateY)
DrivergetUrbanizationId in interface DrivercoordinateX - coordinate on the x axiscoordinateY - coordinate on the y axisDriver.getUrbanizationId(Double, Double)public String getAdjacent(String urbanizationId, Directions direction)
DrivergetAdjacent in interface DriverurbanizationId - urbanization identifierdirection - address in which the adjacent urbanization is locatedDriver.getAdjacent(String, Directions)Copyright © 2018. All rights reserved.