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

public static enum InterpolatePoint.Validity extends Enum<InterpolatePoint.Validity>
  • Enum Constant Details

    • VALID

      public static final InterpolatePoint.Validity VALID
      The point is valid in its current form, and will function correctly.
    • NO_NEXT_POINT

      public static final InterpolatePoint.Validity NO_NEXT_POINT
      The point is invalid because it has no next route point to interpolate towards.
    • DIFFERENT_WORLD

      public static final InterpolatePoint.Validity 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

      public static InterpolatePoint.Validity[] 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

      public static InterpolatePoint.Validity valueOf(String name)
      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 name
      NullPointerException - if the argument is null