Module com.esri.arcgisruntime
Enum Class AttributeUnit
- All Implemented Interfaces:
Serializable
,Comparable<AttributeUnit>
,Constable
Defines the units in which the cost values are measured.
- Since:
- 100.0.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA centimeters attribute unit.A days attribute unit.A decimal degrees attribute unit.A decimeters attribute unit.A feet attribute unit.An hours attribute unit.An inches attribute unit.A kilometers attribute unit.A meters attribute unit.A miles attribute unit.A millimeters attribute unit.A minutes attribute unit.A nautical miles attribute unit.A seconds attribute unit.An unknown unit.A yards attribute unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeUnit
Returns the enum constant of this class with the specified name.static AttributeUnit[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
An unknown unit.- Since:
- 100.0.0
-
INCHES
An inches attribute unit.- Since:
- 100.10.0
-
FEET
A feet attribute unit.- Since:
- 100.0.0
-
YARDS
A yards attribute unit.- Since:
- 100.10.0
-
MILES
A miles attribute unit.- Since:
- 100.0.0
-
MILLIMETERS
A millimeters attribute unit.- Since:
- 100.10.0
-
CENTIMETERS
A centimeters attribute unit.- Since:
- 100.10.0
-
DECIMETERS
A decimeters attribute unit.- Since:
- 100.10.0
-
METERS
A meters attribute unit.- Since:
- 100.0.0
-
KILOMETERS
A kilometers attribute unit.- Since:
- 100.0.0
-
NAUTICAL_MILES
A nautical miles attribute unit.- Since:
- 100.0.0
-
DECIMAL_DEGREES
A decimal degrees attribute unit.- Since:
- 100.0.0
-
SECONDS
A seconds attribute unit.- Since:
- 100.10.0
-
MINUTES
A minutes attribute unit.- Since:
- 100.0.0
-
HOURS
An hours attribute unit.- Since:
- 100.10.0
-
DAYS
A days attribute unit.- Since:
- 100.10.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-