com.citygrid
Class CGLatLon

java.lang.Object
  extended by com.citygrid.CGLatLon
All Implemented Interfaces:
Serializable, Cloneable

public class CGLatLon
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
private  double latitude
           
private  double longitude
           
private static long serialVersionUID
           
 
Constructor Summary
CGLatLon(double latitude, double longitude)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 double getLatitude()
           
 double getLongitude()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

latitude

private double latitude

longitude

private double longitude
Constructor Detail

CGLatLon

public CGLatLon(double latitude,
                double longitude)
Method Detail

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.