Enum Easing.InstantiationErrorCode
Package com.here.sdk.animation
Enum Easing.InstantiationErrorCode
- java.lang.Object
-
- java.lang.Enum<Easing.InstantiationErrorCode>
-
- com.here.sdk.animation.Easing.InstantiationErrorCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Easing.InstantiationErrorCode>
- Enclosing class:
- Easing
public static enum Easing.InstantiationErrorCode extends java.lang.Enum<Easing.InstantiationErrorCode>
Describes a reason for failing to create an
Easing.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SAMPLED_DATA_POINT_COUNT_TOO_SMALLNumber of sampled data points in the list that defines an easing function is too small (i.e.SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALIDInvalid first value of X in the list of sampled data points that define an easing function.SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALIDInvalid last value of X in the list of sampled data points that define an easing function.SAMPLED_DATA_X_VALUE_OUT_OF_RANGESampled data point X values that define an easing function are out of range [0, 1].SAMPLED_DATA_X_VALUES_NON_MONOTONICSampled data point X values in the list that defines an easing function don't increase monotonically.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Easing.InstantiationErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Easing.InstantiationErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAMPLED_DATA_POINT_COUNT_TOO_SMALL
public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINT_COUNT_TOO_SMALL
Number of sampled data points in the list that defines an easing function is too small (i.e. less than 2).
-
SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID
public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_FIRST_X_VALUE_INVALID
Invalid first value of X in the list of sampled data points that define an easing function. First value of X must be 0.
-
SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID
public static final Easing.InstantiationErrorCode SAMPLED_DATA_POINTS_LAST_X_VALUE_INVALID
Invalid last value of X in the list of sampled data points that define an easing function. Last value of X must be 1.
-
SAMPLED_DATA_X_VALUE_OUT_OF_RANGE
public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUE_OUT_OF_RANGE
Sampled data point X values that define an easing function are out of range [0, 1].
-
SAMPLED_DATA_X_VALUES_NON_MONOTONIC
public static final Easing.InstantiationErrorCode SAMPLED_DATA_X_VALUES_NON_MONOTONIC
Sampled data point X values in the list that defines an easing function don't increase monotonically.
-
-
Method Detail
-
values
public static Easing.InstantiationErrorCode[] 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 (Easing.InstantiationErrorCode c : Easing.InstantiationErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Easing.InstantiationErrorCode 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
-
-