Enum LinearUnit
- java.lang.Object
-
- java.lang.Enum<LinearUnit>
-
- de.hendrikjanssen.geotifftools.metadata.geokeys.values.LinearUnit
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LinearUnit>
public enum LinearUnit extends java.lang.Enum<LinearUnit>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ChainBenoit
ChainSears
Fathom
Foot
FootClarke
FootIndian
FootModified_American
FootUS_Survey
Link
LinkBenoit
LinkSears
Meter
MileInternationalNautical
YardIndian
YardSears
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
code()
static LinearUnit
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LinearUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Meter
public static final LinearUnit Meter
-
Foot
public static final LinearUnit Foot
-
FootUS_Survey
public static final LinearUnit FootUS_Survey
-
FootModified_American
public static final LinearUnit FootModified_American
-
FootClarke
public static final LinearUnit FootClarke
-
FootIndian
public static final LinearUnit FootIndian
-
Link
public static final LinearUnit Link
-
LinkBenoit
public static final LinearUnit LinkBenoit
-
LinkSears
public static final LinearUnit LinkSears
-
ChainBenoit
public static final LinearUnit ChainBenoit
-
ChainSears
public static final LinearUnit ChainSears
-
YardSears
public static final LinearUnit YardSears
-
YardIndian
public static final LinearUnit YardIndian
-
Fathom
public static final LinearUnit Fathom
-
MileInternationalNautical
public static final LinearUnit MileInternationalNautical
-
-
Method Detail
-
values
public static LinearUnit[] 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 (LinearUnit c : LinearUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinearUnit valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
code
public int code()
-
-