|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.mapquest.DistanceUnits
Constants to specify the type of units to use when calculating distance.
| Field Summary | |
static DistanceUnits |
KiloMeters
Deprecated. Use KILOMETERS instead. |
static DistanceUnits |
KILOMETERS
|
static DistanceUnits |
Miles
Deprecated. Use MILES instead. |
static DistanceUnits |
MILES
|
| Method Summary | |
boolean |
equals(java.lang.Object otherObject)
Compares this object to the specified object. |
static DistanceUnits |
from_int(int value)
Deprecated. Use fromInt instead. |
static DistanceUnits |
fromInt(int value)
Creates an object from an integer value. |
int |
hashCode()
Returns a hash code for this DistanceUnits. |
int |
intValue()
Returns an int type representing this object. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final DistanceUnits Miles
MILES instead.
public static final DistanceUnits KiloMeters
KILOMETERS instead.
public static final DistanceUnits MILES
public static final DistanceUnits KILOMETERS
| Method Detail |
public java.lang.String toString()
public int intValue()
public static DistanceUnits fromInt(int value)
public static DistanceUnits from_int(int value)
fromInt instead.
public boolean equals(java.lang.Object otherObject)
otherObject - the object to compare this DistanceUnits against.
public int hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||