public class LocationData extends Object
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Constructor and Description |
|---|
LocationData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String message)
Adds the error.
|
void |
addLocation(Location l)
Adds the line location.
|
Set<Line> |
getAllLocationLines()
Gets the all location lines.
|
Set<GeoCoordinates> |
getAllPointGeoCoordinates()
Gets the all point geo coordinates.
|
List<String> |
getErrors()
Delivers the error in the sequence of there detections.
|
LocationDataIterator |
getIterator()
Gets the iterator.
|
Location |
getLocation(int index)
Gets the location.
|
List<Location> |
getLocations()
Gets the locations.
|
int |
getNrOfErrors()
Gets the nr of errors.
|
boolean |
hasErrors()
Checks for errors.
|
boolean |
hasLocations()
Checks for locations.
|
int |
numberOfLocations()
Number of locations.
|
String |
toString() |
public final void addLocation(Location l)
l - the lpublic final void addError(String message)
message - A short error messagepublic final int numberOfLocations()
public final Set<Line> getAllLocationLines()
public final Set<GeoCoordinates> getAllPointGeoCoordinates()
public final boolean hasErrors()
public final int getNrOfErrors()
public final List<String> getErrors()
public final Location getLocation(int index)
index - the indexpublic final LocationDataIterator getIterator()
public final boolean hasLocations()
Copyright © 2019 TomTom International B.V.. All rights reserved.