|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.syndication.feed.module.georss.geometries.Position
public class Position
A two dimensional position represented by latitude and longitude decimal degrees in WGS84
Constructor Summary | |
---|---|
Position()
Creates a new instance of Position |
|
Position(double latitude,
double longitude)
Create Position from a pair of coordinate values |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object obj)
|
double |
getLatitude()
|
double |
getLongitude()
|
void |
setLatitude(double latitude)
Set the latitude |
void |
setLongitude(double longitude)
Set the longitude |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Position()
public Position(double latitude, double longitude)
latitude
- longitude
- Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public double getLatitude()
public void setLatitude(double latitude)
latitude
- the new latitudepublic double getLongitude()
public void setLongitude(double longitude)
longitude
- the new longitude
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |