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