Enum Class UnitType

java.lang.Object
java.lang.Enum<UnitType>
com.esri.arcgisruntime.geometry.UnitType
All Implemented Interfaces:
Serializable, Comparable<UnitType>, Constable

@Deprecated(since="200.1.0", forRemoval=true) public enum UnitType extends Enum<UnitType>
Deprecated, for removal: This API element is subject to removal in a future version.
as of 200.1.0, use instanceof to determine the unit type
Indicates the subtype of an instance of Unit.
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 Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    An AngularUnit, used to define coordinates in geographic coordinate systems such as WGS 1984.
    Deprecated, for removal: This API element is subject to removal in a future version.
    An AreaUnit, used when measuring areas of two-dimensional geometries such as Polygons or Envelopes.
    Deprecated, for removal: This API element is subject to removal in a future version.
    A LinearUnit, used when measuring distances or lengths of one-dimensional geometries such as Polylines.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Unknown units of measurement.
  • Method Summary

    Modifier and Type
    Method
    Description
    static UnitType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    static UnitType[]
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static UnitType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 UnitType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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