Package aero.t2s.modes.constants
Enum AcasSensitivity
- java.lang.Object
-
- java.lang.Enum<AcasSensitivity>
-
- aero.t2s.modes.constants.AcasSensitivity
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AcasSensitivity>
public enum AcasSensitivity extends java.lang.Enum<AcasSensitivity>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INOP0 - ACAS inoperativeLEVEL11 - ACAS is operating at sensitivity level 1LEVEL22 - ACAS is operating at sensitivity level 2LEVEL33 - ACAS is operating at sensitivity level 3LEVEL44 - ACAS is operating at sensitivity level 4LEVEL55 - ACAS is operating at sensitivity level 5LEVEL66 - ACAS is operating at sensitivity level 6LEVEL77 - ACAS is operating at sensitivity level 7
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AcasSensitivityfrom(int sensitivity)static AcasSensitivityvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AcasSensitivity[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INOP
public static final AcasSensitivity INOP
0 - ACAS inoperative
-
LEVEL1
public static final AcasSensitivity LEVEL1
1 - ACAS is operating at sensitivity level 1
-
LEVEL2
public static final AcasSensitivity LEVEL2
2 - ACAS is operating at sensitivity level 2
-
LEVEL3
public static final AcasSensitivity LEVEL3
3 - ACAS is operating at sensitivity level 3
-
LEVEL4
public static final AcasSensitivity LEVEL4
4 - ACAS is operating at sensitivity level 4
-
LEVEL5
public static final AcasSensitivity LEVEL5
5 - ACAS is operating at sensitivity level 5
-
LEVEL6
public static final AcasSensitivity LEVEL6
6 - ACAS is operating at sensitivity level 6
-
LEVEL7
public static final AcasSensitivity LEVEL7
7 - ACAS is operating at sensitivity level 7
-
-
Method Detail
-
values
public static AcasSensitivity[] 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 (AcasSensitivity c : AcasSensitivity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AcasSensitivity 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 AcasSensitivity from(int sensitivity)
-
-