com.esri.core.geometry
Enum Unit.EsriUnit
java.lang.Object
java.lang.Enum<Unit.EsriUnit>
com.esri.core.geometry.Unit.EsriUnit
- All Implemented Interfaces:
- Serializable, Comparable<Unit.EsriUnit>
- Enclosing class:
- Unit
public static enum Unit.EsriUnit
- extends Enum<Unit.EsriUnit>
- Since:
- 10.1.1
UNKNOWN
public static final Unit.EsriUnit UNKNOWN
INCHES
public static final Unit.EsriUnit INCHES
POINTS
public static final Unit.EsriUnit POINTS
FEET
public static final Unit.EsriUnit FEET
YARDS
public static final Unit.EsriUnit YARDS
MILES
public static final Unit.EsriUnit MILES
NAUTICAL_MILES
public static final Unit.EsriUnit NAUTICAL_MILES
MILLIMETERS
public static final Unit.EsriUnit MILLIMETERS
CENTIMETERS
public static final Unit.EsriUnit CENTIMETERS
METERS
public static final Unit.EsriUnit METERS
KILOMETERS
public static final Unit.EsriUnit KILOMETERS
DECIMAL_DEGREES
public static final Unit.EsriUnit DECIMAL_DEGREES
DECIMETERS
public static final Unit.EsriUnit DECIMETERS
values
public static Unit.EsriUnit[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Unit.EsriUnit c : Unit.EsriUnit.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Unit.EsriUnit valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
toString
public String toString()
- Overrides:
toString
in class Enum<Unit.EsriUnit>
get
public static Unit.EsriUnit get(String str)
Copyright © 2012. All Rights Reserved.