public enum UnitsElectricPotential extends java.lang.Enum<UnitsElectricPotential> implements UnitEnum
Enum Constant and Description |
---|
ATTOVOLT |
CENTIVOLT |
DECAVOLT |
DECIVOLT |
EXAVOLT |
FEMTOVOLT |
GIGAVOLT |
HECTOVOLT |
KILOVOLT |
MEGAVOLT |
MICROVOLT |
MILLIVOLT |
NANOVOLT |
PETAVOLT |
PICOVOLT |
TERAVOLT |
VOLT |
YOCTOVOLT |
YOTTAVOLT |
ZEPTOVOLT |
ZETTAVOLT |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
symbol |
Modifier and Type | Method and Description |
---|---|
static UnitsElectricPotential |
bySymbol(java.lang.String symbol) |
java.lang.String |
getSymbol() |
static UnitsElectricPotential |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitsElectricPotential[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsElectricPotential YOTTAVOLT
public static final UnitsElectricPotential ZETTAVOLT
public static final UnitsElectricPotential EXAVOLT
public static final UnitsElectricPotential PETAVOLT
public static final UnitsElectricPotential TERAVOLT
public static final UnitsElectricPotential GIGAVOLT
public static final UnitsElectricPotential MEGAVOLT
public static final UnitsElectricPotential KILOVOLT
public static final UnitsElectricPotential HECTOVOLT
public static final UnitsElectricPotential DECAVOLT
public static final UnitsElectricPotential VOLT
public static final UnitsElectricPotential DECIVOLT
public static final UnitsElectricPotential CENTIVOLT
public static final UnitsElectricPotential MILLIVOLT
public static final UnitsElectricPotential MICROVOLT
public static final UnitsElectricPotential NANOVOLT
public static final UnitsElectricPotential PICOVOLT
public static final UnitsElectricPotential FEMTOVOLT
public static final UnitsElectricPotential ATTOVOLT
public static final UnitsElectricPotential ZEPTOVOLT
public static final UnitsElectricPotential YOCTOVOLT
public static UnitsElectricPotential[] values()
for (UnitsElectricPotential c : UnitsElectricPotential.values()) System.out.println(c);
public static UnitsElectricPotential 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 static UnitsElectricPotential bySymbol(java.lang.String symbol)