public static enum STMLConstants.Units extends Enum<STMLConstants.Units>
| Enum Constant and Description |
|---|
CMCUBED
volume
|
GRAM
mass
|
GRAM_PER_CMCUBED
density
|
GRAM_PER_MOLE
molarMass
|
L
volume
|
ML
volume
|
MMOL
amount
|
MOL
amount
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static STMLConstants.Units |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STMLConstants.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final STMLConstants.Units GRAM
public static final STMLConstants.Units GRAM_PER_CMCUBED
public static final STMLConstants.Units GRAM_PER_MOLE
public static final STMLConstants.Units CMCUBED
public static final STMLConstants.Units ML
public static final STMLConstants.Units L
public static final STMLConstants.Units MOL
public static final STMLConstants.Units MMOL
public final String value
public static STMLConstants.Units[] values()
for (STMLConstants.Units c : STMLConstants.Units.values()) System.out.println(c);
public static STMLConstants.Units 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 toString()
toString in class Enum<STMLConstants.Units>Copyright © 1994–2024 Peter Murray-Rust. All rights reserved.