Enum Class AttributeUnit

java.lang.Object
java.lang.Enum<AttributeUnit>
com.esri.arcgisruntime.tasks.networkanalysis.AttributeUnit
All Implemented Interfaces:
Serializable, Comparable<AttributeUnit>, Constable

public enum AttributeUnit extends Enum<AttributeUnit>
Defines the units in which the cost values are measured.
Since:
100.0.0
See Also:
  • Enum Constant Details

    • UNKNOWN

      public static final AttributeUnit UNKNOWN
      An unknown unit.
      Since:
      100.0.0
    • INCHES

      public static final AttributeUnit INCHES
      An inches attribute unit.
      Since:
      100.10.0
    • FEET

      public static final AttributeUnit FEET
      A feet attribute unit.
      Since:
      100.0.0
    • YARDS

      public static final AttributeUnit YARDS
      A yards attribute unit.
      Since:
      100.10.0
    • MILES

      public static final AttributeUnit MILES
      A miles attribute unit.
      Since:
      100.0.0
    • MILLIMETERS

      public static final AttributeUnit MILLIMETERS
      A millimeters attribute unit.
      Since:
      100.10.0
    • CENTIMETERS

      public static final AttributeUnit CENTIMETERS
      A centimeters attribute unit.
      Since:
      100.10.0
    • DECIMETERS

      public static final AttributeUnit DECIMETERS
      A decimeters attribute unit.
      Since:
      100.10.0
    • METERS

      public static final AttributeUnit METERS
      A meters attribute unit.
      Since:
      100.0.0
    • KILOMETERS

      public static final AttributeUnit KILOMETERS
      A kilometers attribute unit.
      Since:
      100.0.0
    • NAUTICAL_MILES

      public static final AttributeUnit NAUTICAL_MILES
      A nautical miles attribute unit.
      Since:
      100.0.0
    • DECIMAL_DEGREES

      public static final AttributeUnit DECIMAL_DEGREES
      A decimal degrees attribute unit.
      Since:
      100.0.0
    • SECONDS

      public static final AttributeUnit SECONDS
      A seconds attribute unit.
      Since:
      100.10.0
    • MINUTES

      public static final AttributeUnit MINUTES
      A minutes attribute unit.
      Since:
      100.0.0
    • HOURS

      public static final AttributeUnit HOURS
      An hours attribute unit.
      Since:
      100.10.0
    • DAYS

      public static final AttributeUnit DAYS
      A days attribute unit.
      Since:
      100.10.0
  • Method Details

    • values

      public static AttributeUnit[] 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

      public static AttributeUnit valueOf(String name)
      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 name
      NullPointerException - if the argument is null