|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.util.NamedPoint
public class NamedPoint
A class to hold and transfer named locations' information, for a landmark, city, observation point or station, data point, etc. S Wier
| Constructor Summary | |
|---|---|
NamedPoint()
_more_ |
|
NamedPoint(String id,
String name,
double latitude,
double longitude,
double elevation)
Construct an object to hold and transfer settings for a landmark, city, observation point, etc. |
|
| Method Summary | |
|---|---|
void |
addProperty(String key,
String value)
_more_ |
boolean |
equals(Object o)
_more_ |
double |
getElevation()
_more_ |
String |
getID()
_more_ |
double |
getLatitude()
_more_ |
double |
getLongitude()
_more_ |
String |
getName()
_more_ |
Hashtable |
getProperties()
_more_ |
void |
setElevation(double v)
_more_ |
void |
setID(String v)
_more_ |
void |
setLatitude(double v)
_more_ |
void |
setLongitude(double v)
_more_ |
void |
setName(String v)
_more_ |
void |
setProperties(Hashtable v)
_more_ |
String |
toString()
_more_ |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NamedPoint(String id,
String name,
double latitude,
double longitude,
double elevation)
latitude - in decimal geographic degreeslongitude - in decimal geographic degreeselevation - in meters above the geoid ("sea level")id - typically a 3- or 4- letter or number codename - some kind of name like "buoy 32" or "Kansas City"public NamedPoint()
| Method Detail |
|---|
public double getLatitude()
public void setLatitude(double v)
v - public double getLongitude()
public void setLongitude(double v)
v - public double getElevation()
public void setElevation(double v)
v - public String getID()
public void setID(String v)
v - public String getName()
public void setName(String v)
v - public Hashtable getProperties()
public void setProperties(Hashtable v)
v -
public void addProperty(String key,
String value)
key - value - public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objecto -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||