public enum GpsReceiverSolutionType extends Enum<GpsReceiverSolutionType> implements Enumeration
Enum Constant and Description |
---|
ALL_IN_VIEW
All In View receiver: Uses all available satellites in DOP computation.
|
BEST_N
Best-N receiver: takes the set of N satellites that minimizes Dilution of Precision (DOP).
|
Modifier and Type | Method and Description |
---|---|
static GpsReceiverSolutionType |
getDefault()
Get the enum constant that is considered to be the default.
|
static GpsReceiverSolutionType |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static GpsReceiverSolutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GpsReceiverSolutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpsReceiverSolutionType BEST_N
public static final GpsReceiverSolutionType ALL_IN_VIEW
public static GpsReceiverSolutionType[] values()
for (GpsReceiverSolutionType c : GpsReceiverSolutionType.values()) System.out.println(c);
public static GpsReceiverSolutionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static GpsReceiverSolutionType getFromValue(int value)
value
- a numeric value.@Nonnull public static GpsReceiverSolutionType getDefault()