Package yams.units
Enum Class EasyCRT.CRTStatus
- All Implemented Interfaces:
Serializable,Comparable<EasyCRT.CRTStatus>,Constable
- Enclosing class:
- EasyCRT
The list of possible statuses from the previous solve attempt.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe previous solve attempt resulted in two nearly-equal matches within tolerance.A solve was not attempted, as the solver was not configured correctly.The previous solve attempt could not find a solution.No solve attempts have occured.The previous solve succeeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic EasyCRT.CRTStatusReturns the enum constant of this class with the specified name.static EasyCRT.CRTStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
The previous solve succeeded. -
NO_SOLUTION
The previous solve attempt could not find a solution. -
AMBIGUOUS
The previous solve attempt resulted in two nearly-equal matches within tolerance. -
NOT_ATTEMPTED
No solve attempts have occured. -
INVALID_CONFIG
A solve was not attempted, as the solver was not configured correctly.
-
-
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
-