public class GeoHashPoint extends Point
| Modifier and Type | Field and Description |
|---|---|
static String |
GEOHASH_KEY
The Constant GEOHASH_KEY.
|
| Constructor and Description |
|---|
GeoHashPoint(double latitude,
double longitude)
Instantiates a new geo hash point.
|
GeoHashPoint(Double latitude,
Double longitude)
Instantiates a new geo hash point.
|
GeoHashPoint(float latitude,
float longitude)
Instantiates a new geo hash point.
|
GeoHashPoint(Position position)
Instantiates a new geo hash point.
|
GeoHashPoint(String geohash)
Instantiates a new geo hash point.
|
GeoHashPoint(String lat,
String lng)
Instantiates a new geo hash point.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object o) |
String |
getGeohash()
Gets the geohash.
|
BigDecimal |
getLat()
Gets the lat.
|
BigDecimal |
getLng()
Gets the lng.
|
int |
hashCode() |
String |
toString() |
compareTo, getLatitude, getLongitude, setLatitude, setLongitudepublic static final String GEOHASH_KEY
public GeoHashPoint(double latitude,
double longitude)
latitude - the latitudelongitude - the longitudepublic GeoHashPoint(Double latitude, Double longitude)
latitude - the latitudelongitude - the longitudepublic GeoHashPoint(float latitude,
float longitude)
latitude - the latitudelongitude - the longitudepublic GeoHashPoint(Position position)
position - the positionpublic GeoHashPoint(String geohash)
geohash - the Geohash code.public String getGeohash()
public BigDecimal getLat()
public BigDecimal getLng()
Copyright © 2010–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.