Package org.opensky.model
Enum StateVector.PositionSource
- java.lang.Object
-
- java.lang.Enum<StateVector.PositionSource>
-
- org.opensky.model.StateVector.PositionSource
-
- All Implemented Interfaces:
Serializable
,Comparable<StateVector.PositionSource>
- Enclosing class:
- StateVector
public static enum StateVector.PositionSource extends Enum<StateVector.PositionSource>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateVector.PositionSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static StateVector.PositionSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADS_B
public static final StateVector.PositionSource ADS_B
-
ASTERIX
public static final StateVector.PositionSource ASTERIX
-
MLAT
public static final StateVector.PositionSource MLAT
-
FLARM
public static final StateVector.PositionSource FLARM
-
UNKNOWN
public static final StateVector.PositionSource UNKNOWN
-
-
Method Detail
-
values
public static StateVector.PositionSource[] 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 (StateVector.PositionSource c : StateVector.PositionSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateVector.PositionSource valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-