Enum IsolineCalculationMode
Package com.here.sdk.routing
Enum IsolineCalculationMode
- java.lang.Object
-
- java.lang.Enum<IsolineCalculationMode>
-
- com.here.sdk.routing.IsolineCalculationMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IsolineCalculationMode>
public enum IsolineCalculationMode extends java.lang.Enum<IsolineCalculationMode>
Specifies how isoline calculation is optimized.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BALANCEDCalculation of isoline takes a balanced approach averaging between quality and performance.PERFORMANCECalculation of isoline is performance-centric, quality of isoline is reduced to provide better performance.QUALITYCalculation of isoline focuses on quality, that is, the graph used for isoline calculation has higher granularity generating an isoline that is more precise.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IsolineCalculationModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IsolineCalculationMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUALITY
public static final IsolineCalculationMode QUALITY
Calculation of isoline focuses on quality, that is, the graph used for isoline calculation has higher granularity generating an isoline that is more precise.
-
PERFORMANCE
public static final IsolineCalculationMode PERFORMANCE
Calculation of isoline is performance-centric, quality of isoline is reduced to provide better performance.
-
BALANCED
public static final IsolineCalculationMode BALANCED
Calculation of isoline takes a balanced approach averaging between quality and performance.
-
-
Method Detail
-
values
public static IsolineCalculationMode[] 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 (IsolineCalculationMode c : IsolineCalculationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IsolineCalculationMode 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
-
-