Package ffx.algorithms.cli
Enum Class ThermodynamicsOptions.ThermodynamicsAlgorithm
java.lang.Object
java.lang.Enum<ThermodynamicsOptions.ThermodynamicsAlgorithm>
ffx.algorithms.cli.ThermodynamicsOptions.ThermodynamicsAlgorithm
- All Implemented Interfaces:
Serializable
,Comparable<ThermodynamicsOptions.ThermodynamicsAlgorithm>
,Constable
- Enclosing class:
ThermodynamicsOptions
public static enum ThermodynamicsOptions.ThermodynamicsAlgorithm
extends Enum<ThermodynamicsOptions.ThermodynamicsAlgorithm>
Represents categories of thermodynamics algorithms that must be handled differently.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionParse a String to a corresponding thermodynamics algorithm, recognizing aliases.Returns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OST
-
FIXED
-
NEQ
-
-
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
-
parse
public static ThermodynamicsOptions.ThermodynamicsAlgorithm parse(String name) throws IllegalArgumentException Parse a String to a corresponding thermodynamics algorithm, recognizing aliases.- Parameters:
name
- Name to parse- Returns:
- A ThermodynamicsAlgorithm.
- Throws:
IllegalArgumentException
- If name did not correspond to any alias of any ThermodynamicsAlgorithm.
-