Package aero.t2s.modes.constants
Enum ThreatTypeIndicator
- java.lang.Object
-
- java.lang.Enum<ThreatTypeIndicator>
-
- aero.t2s.modes.constants.ThreatTypeIndicator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ThreatTypeIndicator>
public enum ThreatTypeIndicator extends java.lang.Enum<ThreatTypeIndicator>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALT_BRG_DISTMODESNO_IDNOT_ASSIGNED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ThreatTypeIndicatorfrom(int code)static ThreatTypeIndicatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ThreatTypeIndicator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ID
public static final ThreatTypeIndicator NO_ID
-
MODES
public static final ThreatTypeIndicator MODES
-
ALT_BRG_DIST
public static final ThreatTypeIndicator ALT_BRG_DIST
-
NOT_ASSIGNED
public static final ThreatTypeIndicator NOT_ASSIGNED
-
-
Method Detail
-
values
public static ThreatTypeIndicator[] 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 (ThreatTypeIndicator c : ThreatTypeIndicator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ThreatTypeIndicator 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 ThreatTypeIndicator from(int code)
-
-