public enum EnergyUnitFactorPrefixSI extends java.lang.Enum<EnergyUnitFactorPrefixSI>
Java class for EnergyUnitFactorPrefixSI.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EnergyUnitFactorPrefixSI"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Yotta, Y, 24"/> <enumeration value="Zetta, Z, 21"/> <enumeration value="Exa, E, 18"/> <enumeration value="Peta, P, 15"/> <enumeration value="Tera, T, 12"/> <enumeration value="Giga, G, 9"/> <enumeration value="mega, M, 6"/> <enumeration value="kilo, k, 3"/> <enumeration value="none, , 0"/> <enumeration value="milli, m, -3"/> </restriction> </simpleType>
Enum Constant and Description |
---|
EXA_E_18 |
GIGA_G_9 |
KILO_K_3 |
MEGA_M_6 |
MILLI_M_3 |
NONE_0 |
PETA_P_15 |
TERA_T_12 |
YOTTA_Y_24 |
ZETTA_Z_21 |
Modifier and Type | Method and Description |
---|---|
static EnergyUnitFactorPrefixSI |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static EnergyUnitFactorPrefixSI |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnergyUnitFactorPrefixSI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnergyUnitFactorPrefixSI YOTTA_Y_24
public static final EnergyUnitFactorPrefixSI ZETTA_Z_21
public static final EnergyUnitFactorPrefixSI EXA_E_18
public static final EnergyUnitFactorPrefixSI PETA_P_15
public static final EnergyUnitFactorPrefixSI TERA_T_12
public static final EnergyUnitFactorPrefixSI GIGA_G_9
public static final EnergyUnitFactorPrefixSI MEGA_M_6
public static final EnergyUnitFactorPrefixSI KILO_K_3
public static final EnergyUnitFactorPrefixSI NONE_0
public static final EnergyUnitFactorPrefixSI MILLI_M_3
public static EnergyUnitFactorPrefixSI[] values()
for (EnergyUnitFactorPrefixSI c : EnergyUnitFactorPrefixSI.values()) System.out.println(c);
public static EnergyUnitFactorPrefixSI valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static EnergyUnitFactorPrefixSI fromValue(java.lang.String v)