|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenlr.map.GeoCoordinatesImpl
public class GeoCoordinatesImpl
This class is an implementation of interface GeoCoordinates.
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Constructor Summary | |
|---|---|
GeoCoordinatesImpl(double lon,
double lat)
Instantiates a new geo-coordinate. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
double |
getLatitudeDeg()
Gets the latitude deg. |
double |
getLongitudeDeg()
Gets the longitude deg. |
int |
hashCode()
|
static GeoCoordinatesImpl |
newGeoCoordinatesUnchecked(double lon,
double lat)
Instantiates a new geo-coordinate without declaration of a checked exception. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GeoCoordinatesImpl(double lon,
double lat)
throws InvalidMapDataException
lon - the lonlat - the lat
InvalidMapDataException - the invalid map data exception| Method Detail |
|---|
public static final GeoCoordinatesImpl newGeoCoordinatesUnchecked(double lon,
double lat)
IllegalArgumentException is thrown instead.
lon - the longitudelat - the latitude
GeoCoordinatesImplpublic final double getLatitudeDeg()
getLatitudeDeg in interface GeoCoordinatespublic final double getLongitudeDeg()
getLongitudeDeg in interface GeoCoordinatespublic String toString()
toString in class Objectpublic final int hashCode()
hashCode in interface GeoCoordinateshashCode in class Objectpublic final boolean equals(Object obj)
equals in interface GeoCoordinatesequals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||