public class GeoHash
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PRECISION |
static int |
MAX_PRECISION_BITS |
Constructor and Description |
---|
GeoHash(double latitude,
double longitude) |
GeoHash(double latitude,
double longitude,
int precision) |
GeoHash(GeoLocation location) |
GeoHash(java.lang.String hash) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getGeoHashString() |
int |
hashCode() |
java.lang.String |
toString() |
public static final int MAX_PRECISION
public static final int MAX_PRECISION_BITS
public GeoHash(double latitude, double longitude)
public GeoHash(GeoLocation location)
public GeoHash(double latitude, double longitude, int precision)
public GeoHash(java.lang.String hash)
public java.lang.String getGeoHashString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object