|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DirectionsLengthUnit>
com.esri.core.tasks.ags.na.DirectionsLengthUnit
public enum DirectionsLengthUnit

The enumeration types for the direction length units.
| Enum Constant Summary | |
|---|---|
FEET
Feet |
|
KILOMETERS
Kilometers |
|
METERS
Meters |
|
MILES
Miles |
|
NAUTICAL_MILES
Nautical Miles |
|
SERVER_DEFAULT
default |
|
YARDS
Yards |
|
| Method Summary | |
|---|---|
static DirectionsLengthUnit |
get(String str)
|
String |
toString()
|
static DirectionsLengthUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DirectionsLengthUnit[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DirectionsLengthUnit FEET
public static final DirectionsLengthUnit KILOMETERS
public static final DirectionsLengthUnit METERS
public static final DirectionsLengthUnit MILES
public static final DirectionsLengthUnit NAUTICAL_MILES
public static final DirectionsLengthUnit YARDS
public static final DirectionsLengthUnit SERVER_DEFAULT
| Method Detail |
|---|
public static DirectionsLengthUnit[] values()
for (DirectionsLengthUnit c : DirectionsLengthUnit.values()) System.out.println(c);
public static DirectionsLengthUnit valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<DirectionsLengthUnit>public static DirectionsLengthUnit get(String str)
str -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||