Enum SolubilityUnit
- java.lang.Object
-
- java.lang.Enum<SolubilityUnit>
-
- com.chemaxon.calculations.solubility.SolubilityUnit
-
- All Implemented Interfaces:
Serializable
,Comparable<SolubilityUnit>
@PublicAPI public enum SolubilityUnit extends Enum<SolubilityUnit>
Solubility unit.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SolubilityUnit
valueOf(String name)
Returns the enum constant of this type with the specified name.static SolubilityUnit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MGPERML
public static final SolubilityUnit MGPERML
Solubility is expressed in mg/ml unit.
-
MOLPERL
public static final SolubilityUnit MOLPERL
Solubility is expressed in mol/l unit.
-
LOGS
public static final SolubilityUnit LOGS
Solubility is expressed in base-10 logarithm unit.
-
-
Method Detail
-
values
public static SolubilityUnit[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolubilityUnit c : SolubilityUnit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolubilityUnit valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-