Enum Class InterpolatePoint.Validity
java.lang.Object
java.lang.Enum<InterpolatePoint.Validity>
com.melluh.servertours.api.object.InterpolatePoint.Validity
- All Implemented Interfaces:
Serializable
,Comparable<InterpolatePoint.Validity>
,Constable
- Enclosing interface:
- InterpolatePoint
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe point is invalid because the next route point is in a different world, and thus cannot be interpolated to.The point is invalid because it has no next route point to interpolate towards.The point is valid in its current form, and will function correctly. -
Method Summary
Modifier and TypeMethodDescriptionstatic InterpolatePoint.Validity
Returns the enum constant of this class with the specified name.static InterpolatePoint.Validity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALID
The point is valid in its current form, and will function correctly. -
NO_NEXT_POINT
The point is invalid because it has no next route point to interpolate towards. -
DIFFERENT_WORLD
The point is invalid because the next route point is in a different world, and thus cannot be interpolated to.
-
-
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
-