public class GeoLocation
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
double |
latitude |
double |
longitude |
java.lang.String |
name |
double |
tzOffset |
Constructor and Description |
---|
GeoLocation(double latitude,
double longitude,
double tzOffset) |
GeoLocation(XMLElement e) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object gl) |
boolean |
equals(java.lang.Object o) |
static java.util.ArrayList<GeoLocation> |
getGeoLocations(java.lang.String url) |
java.lang.String |
toString() |
public java.lang.String name
public double latitude
public double longitude
public double tzOffset
public GeoLocation(double latitude, double longitude, double tzOffset)
public GeoLocation(XMLElement e)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public static java.util.ArrayList<GeoLocation> getGeoLocations(java.lang.String url)
public int compareTo(java.lang.Object gl)
compareTo
in interface java.lang.Comparable