Package lumis.portal.geolocation
Class GeoPoint
- java.lang.Object
-
- lumis.portal.geolocation.GeoPoint
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ExtendedGeoPoint
@StableMinor(version="17.0", sinceVersion="10.2") public class GeoPoint extends java.lang.Object implements java.io.Serializable
Geo point used to locate a geographic point using latitude and longitude.- Since:
- 10.2.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GeoPoint(double lat, double lon)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
double
getLatitude()
Returns the latitude.double
getLongitude()
Returns the longitude.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getLatitude
public double getLatitude()
Returns the latitude.- Returns:
- the latitude.
- Since:
- 10.2.0
-
getLongitude
public double getLongitude()
Returns the longitude.- Returns:
- the longitude.
- Since:
- 10.2.0
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-