public final enum

DirectionsLengthUnit

extends Enum<DirectionsLengthUnit>
java.lang.Object
   ↳ java.lang.Enum<com.esri.core.tasks.na.DirectionsLengthUnit>
     ↳ com.esri.core.tasks.na.DirectionsLengthUnit

Class Overview

The enumeration types for the direction length units.

Summary

Enum Values
DirectionsLengthUnit  FEET  Feet  
DirectionsLengthUnit  KILOMETERS  Kilometers  
DirectionsLengthUnit  METERS  Meters  
DirectionsLengthUnit  MILES  Miles  
Public Methods
static DirectionsLengthUnit get(String str)
Returns the DirectionsLengthUnit corresponding to the string representation passed in.
String toString()
Returns a string representation of this enum value.
static DirectionsLengthUnit valueOf(String name)
static final DirectionsLengthUnit[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DirectionsLengthUnit FEET

Feet

public static final DirectionsLengthUnit KILOMETERS

Kilometers

public static final DirectionsLengthUnit METERS

Meters

public static final DirectionsLengthUnit MILES

Miles

Public Methods

public static DirectionsLengthUnit get (String str)

Returns the DirectionsLengthUnit corresponding to the string representation passed in. Returns null if there is no match for the string.

Parameters
str String: the string representation
Returns
DirectionsLengthUnit an instance of the corresponding DirectionsLengthUnit, or null if there is no match

public String toString ()

Returns a string representation of this enum value.

Returns
String

public static DirectionsLengthUnit valueOf (String name)

Parameters
name String
Returns
DirectionsLengthUnit

public static final DirectionsLengthUnit[] values ()