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 Link icon

    • UNKNOWN Link icon

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • values Link icon

      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 Link icon

      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