Enum Class ViaPointCalculationMode
java.lang.Object
java.lang.Enum<ViaPointCalculationMode>
org.bremersee.garmin.trip.v1.model.ext.ViaPointCalculationMode
- All Implemented Interfaces:
Serializable,Comparable<ViaPointCalculationMode>,Constable
The via point calculation mode.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCurvy roads calculation mode.Direct calculation mode.Faster time calculation mode.Shorter distance calculation mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic ViaPointCalculationModeFrom value.toString()static ViaPointCalculationModeReturns the enum constant of this class with the specified name.static ViaPointCalculationMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FASTER_TIME
Faster time calculation mode. -
SHORTER_DISTANCE
Shorter distance calculation mode. -
CURVY_ROADS
Curvy roads calculation mode. -
DIRECT
Direct calculation mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<ViaPointCalculationMode>
-
fromValue
From value.- Parameters:
value- the value- Returns:
- the via point calculation mode
-