Package aero.t2s.modes.constants
Enum LengthWidthCode
- java.lang.Object
-
- java.lang.Enum<LengthWidthCode>
-
- aero.t2s.modes.constants.LengthWidthCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LengthWidthCode>
public enum LengthWidthCode extends java.lang.Enum<LengthWidthCode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LengthWidthCodefrom(int category)doublegetMaxLength()doublegetMaxWidth()static LengthWidthCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LengthWidthCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CAT0
public static final LengthWidthCode CAT0
-
CAT1
public static final LengthWidthCode CAT1
-
CAT2
public static final LengthWidthCode CAT2
-
CAT3
public static final LengthWidthCode CAT3
-
CAT4
public static final LengthWidthCode CAT4
-
CAT5
public static final LengthWidthCode CAT5
-
CAT6
public static final LengthWidthCode CAT6
-
CAT7
public static final LengthWidthCode CAT7
-
CAT8
public static final LengthWidthCode CAT8
-
CAT9
public static final LengthWidthCode CAT9
-
CAT10
public static final LengthWidthCode CAT10
-
CAT11
public static final LengthWidthCode CAT11
-
CAT12
public static final LengthWidthCode CAT12
-
CAT13
public static final LengthWidthCode CAT13
-
CAT14
public static final LengthWidthCode CAT14
-
CAT15
public static final LengthWidthCode CAT15
-
-
Method Detail
-
values
public static LengthWidthCode[] 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 (LengthWidthCode c : LengthWidthCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LengthWidthCode 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
-
from
public static LengthWidthCode from(int category)
-
getMaxWidth
public double getMaxWidth()
-
getMaxLength
public double getMaxLength()
-
-