net.degreedays.geo
Class DistanceUnit

java.lang.Object
  extended by net.degreedays.geo.DistanceUnit
All Implemented Interfaces:
java.io.Serializable

public final class DistanceUnit
extends java.lang.Object
implements java.io.Serializable

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

METRES

public static final DistanceUnit METRES

KILOMETRES

public static final DistanceUnit KILOMETRES

FEET

public static final DistanceUnit FEET

MILES

public static final DistanceUnit MILES
Method Detail

toString

public java.lang.String toString()
Returns a non-null, non-empty string representation of this object for logging and debugging purposes.

The exact details of the representation are unspecified and subject to change.

Overrides:
toString in class java.lang.Object

values

public static DistanceUnit[] values()
Returns an array of the available DistanceUnit values.

The returned array can be modified freely without affecting the arrays returned by past, concurrent, or future calls to this method.



www.degreedays.net/api/