public enum PositionCodeType extends java.lang.Enum<PositionCodeType>
Enum Constant and Description |
---|
DECIMAL |
HEXADECIMAL |
OCTAL |
Modifier and Type | Method and Description |
---|---|
int |
getBase() |
double |
getBaseLog() |
static PositionCodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PositionCodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionCodeType OCTAL
public static final PositionCodeType DECIMAL
public static final PositionCodeType HEXADECIMAL
public static PositionCodeType[] values()
for (PositionCodeType c : PositionCodeType.values()) System.out.println(c);
public static PositionCodeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getBase()
public double getBaseLog()