|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.degreedays.geo.DistanceUnit
public final class DistanceUnit
Defines the units of distance measurement with constants to represent metres, kilometres, feet, and miles.
Field Summary | |
---|---|
static DistanceUnit |
FEET
|
static DistanceUnit |
KILOMETRES
|
static DistanceUnit |
METRES
|
static DistanceUnit |
MILES
|
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes. |
static DistanceUnit[] |
values()
Returns an array of the available DistanceUnit values. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final DistanceUnit METRES
public static final DistanceUnit KILOMETRES
public static final DistanceUnit FEET
public static final DistanceUnit MILES
Method Detail |
---|
public java.lang.String toString()
The exact details of the representation are unspecified and subject to change.
toString
in class java.lang.Object
public static DistanceUnit[] values()
DistanceUnit
values.
The returned array can be modified freely without affecting the arrays returned by past, concurrent, or future calls to this method.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |