com.citygrid
Class CGLatLon
java.lang.Object
com.citygrid.CGLatLon
- All Implemented Interfaces:
- Serializable, Cloneable
public class CGLatLon
- extends Object
- implements Serializable, Cloneable
- See Also:
- Serialized Form
Constructor Summary |
CGLatLon(double latitude,
double longitude)
|
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
latitude
private double latitude
longitude
private double longitude
CGLatLon
public CGLatLon(double latitude,
double longitude)
getLatitude
public double getLatitude()
getLongitude
public double getLongitude()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
Copyright © 2011. All Rights Reserved.