|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcynosurex.geography.Coordinate
public abstract class Coordinate
Field Summary | |
---|---|
protected int |
degree
Specifies a value between -179 and 180 for longitude, and a value between -90 and 90 for latitude. |
protected int |
minute
Specifies a value between 0 and 59. |
static int |
MINUTE_MAX
|
static int |
MINUTE_MIN
|
protected int |
second
Specifies a value between 0 and 59. |
static int |
SECOND_MAX
|
static int |
SECOND_MIN
|
Fields inherited from interface cynosurex.internal.CommonInterface |
---|
copyright, copyrightYears, notice, program, version |
Fields inherited from interface cynosurex.internal.AuthorCommon |
---|
author, copyrightSymbol, noticeMsg, rights |
Fields inherited from interface cynosurex.internal.CompanyCommon |
---|
company, email, website |
Constructor Summary | |
---|---|
Coordinate()
|
Method Summary | |
---|---|
int |
getDegree()
Returns the degree field. |
int |
getMinute()
Returns the minute field. |
int |
getSecond()
Returns the second field. |
double |
getValue()
Returns the degree with decimals. |
abstract void |
setDegree(int degree)
|
abstract void |
setMinute(int minute)
|
abstract void |
setSecond(int second)
|
abstract void |
setValue(double value)
|
void |
setValue(int degree,
int minute,
int second)
|
java.lang.String |
toString()
Returns a String object representing the instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int MINUTE_MAX
public static final int MINUTE_MIN
public static final int SECOND_MAX
public static final int SECOND_MIN
protected int degree
protected int minute
protected int second
Constructor Detail |
---|
public Coordinate()
Method Detail |
---|
public int getDegree()
public int getMinute()
public int getSecond()
public double getValue()
public void setValue(int degree, int minute, int second)
public abstract void setValue(double value)
public abstract void setDegree(int degree)
public abstract void setMinute(int minute)
public abstract void setSecond(int second)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |