Enum Class CharacterizationOptions.NamingScheme
java.lang.Object
java.lang.Enum<CharacterizationOptions.NamingScheme>
neqsim.thermo.characterization.CharacterizationOptions.NamingScheme
- All Implemented Interfaces:
Serializable, Comparable<CharacterizationOptions.NamingScheme>, Constable
- Enclosing class:
CharacterizationOptions
public static enum CharacterizationOptions.NamingScheme
extends Enum<CharacterizationOptions.NamingScheme>
Naming scheme for pseudo-components in the characterized fluid.
- Author:
- ESOL
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUse carbon number based naming (C7, C10, C15, ...).Use names from the reference fluid (e.g., C7_PC, C10_PC).Use sequential naming (PC1, PC2, PC3, ...). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CharacterizationOptions.NamingScheme[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REFERENCE
Use names from the reference fluid (e.g., C7_PC, C10_PC). -
SEQUENTIAL
Use sequential naming (PC1, PC2, PC3, ...). -
CARBON_NUMBER
Use carbon number based naming (C7, C10, C15, ...).
-
-
Constructor Details
-
NamingScheme
private NamingScheme()
-
-
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
-