Package yams.units

Enum Class EasyCRT.CRTStatus

java.lang.Object
java.lang.Enum<EasyCRT.CRTStatus>
yams.units.EasyCRT.CRTStatus
All Implemented Interfaces:
Serializable, Comparable<EasyCRT.CRTStatus>, Constable
Enclosing class:
EasyCRT

public static enum EasyCRT.CRTStatus extends Enum<EasyCRT.CRTStatus>
The list of possible statuses from the previous solve attempt.
  • Enum Constant Details

    • OK

      public static final EasyCRT.CRTStatus OK
      The previous solve succeeded.
    • NO_SOLUTION

      public static final EasyCRT.CRTStatus NO_SOLUTION
      The previous solve attempt could not find a solution.
    • AMBIGUOUS

      public static final EasyCRT.CRTStatus AMBIGUOUS
      The previous solve attempt resulted in two nearly-equal matches within tolerance.
    • NOT_ATTEMPTED

      public static final EasyCRT.CRTStatus NOT_ATTEMPTED
      No solve attempts have occured.
    • INVALID_CONFIG

      public static final EasyCRT.CRTStatus INVALID_CONFIG
      A solve was not attempted, as the solver was not configured correctly.
  • Method Details

    • values

      public static EasyCRT.CRTStatus[] 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 EasyCRT.CRTStatus 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