public enum UnitsElectricPotential extends Enum<UnitsElectricPotential> implements Enumeration
Enum Constant and Description |
---|
AV |
CV |
DAV |
DV |
EXAV |
FV |
GIGAV |
HV |
KV |
MEGAV |
MICROV |
MV |
NV |
PETAV |
PV |
TERAV |
V |
YOTTAV |
YV |
ZETTAV |
ZV |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsElectricPotential newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsElectricPotential newUnit) |
static UnitsElectricPotential |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsElectricPotential |
valueOf(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 YOTTAV
public static final UnitsElectricPotential ZETTAV
public static final UnitsElectricPotential EXAV
public static final UnitsElectricPotential PETAV
public static final UnitsElectricPotential TERAV
public static final UnitsElectricPotential GIGAV
public static final UnitsElectricPotential MEGAV
public static final UnitsElectricPotential KV
public static final UnitsElectricPotential HV
public static final UnitsElectricPotential DAV
public static final UnitsElectricPotential V
public static final UnitsElectricPotential DV
public static final UnitsElectricPotential CV
public static final UnitsElectricPotential MV
public static final UnitsElectricPotential MICROV
public static final UnitsElectricPotential NV
public static final UnitsElectricPotential PV
public static final UnitsElectricPotential FV
public static final UnitsElectricPotential AV
public static final UnitsElectricPotential ZV
public static final UnitsElectricPotential YV
private final String value
public static UnitsElectricPotential[] values()
for (UnitsElectricPotential c : UnitsElectricPotential.values()) System.out.println(c);
public static UnitsElectricPotential 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 static UnitsElectricPotential fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<UnitsElectricPotential>
public static <T extends PrimitiveNumber> ElectricPotential create(T newValue, UnitsElectricPotential newUnit)
public static <T extends Number> ElectricPotential create(T newValue, UnitsElectricPotential newUnit)
Copyright © 2016 Open Microscopy Environment