com.esri.core.geometry
Enum Unit.EsriUnit

java.lang.Object
  extended by java.lang.Enum<Unit.EsriUnit>
      extended by 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

Enum Constant Summary
CENTIMETERS
           
DECIMAL_DEGREES
           
DECIMETERS
           
FEET
           
INCHES
           
KILOMETERS
           
METERS
           
MILES
           
MILLIMETERS
           
NAUTICAL_MILES
           
POINTS
           
UNKNOWN
           
YARDS
           
 
Method Summary
static Unit.EsriUnit get(String str)
           
 String toString()
           
static Unit.EsriUnit valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Unit.EsriUnit[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.