public enum DefaultSolubilityCategory extends Enum<DefaultSolubilityCategory> implements SolubilityCategory
Low: lower than 0.01 mg/ml Moderate: between 0.01 and 0.06 mg/ml High: higher than 0.06 mg/ml
Enum Constant and Description |
---|
HIGH
High solubility.
|
LOW
Low solubility.
|
MODERATE
Moderate solubility.
|
Modifier and Type | Method and Description |
---|---|
String |
description()
Description.
|
double |
getUpperLimit()
The upper limit of category.
|
String |
shortName()
Returns the name of category.
|
static DefaultSolubilityCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultSolubilityCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultSolubilityCategory LOW
public static final DefaultSolubilityCategory MODERATE
public static final DefaultSolubilityCategory HIGH
public static DefaultSolubilityCategory[] values()
for (DefaultSolubilityCategory c : DefaultSolubilityCategory.values()) System.out.println(c);
public static DefaultSolubilityCategory valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String shortName()
SolubilityCategory
shortName
in interface SolubilityCategory
SolubilityCategory.shortName()
public String description()
SolubilityCategory
description
in interface SolubilityCategory
SolubilityCategory.description()
public double getUpperLimit()
SolubilityCategory
getUpperLimit
in interface SolubilityCategory
SolubilityCategory.getUpperLimit()