public enum UnitsElectricPotential extends Enum<UnitsElectricPotential> implements Enumeration
Enum Constant and Description |
---|
ATTOVOLT
attovolt unit.
|
CENTIVOLT
centivolt unit.
|
DECAVOLT
decavolt unit.
|
DECIVOLT
decivolt unit.
|
EXAVOLT
exavolt unit.
|
FEMTOVOLT
femtovolt unit.
|
GIGAVOLT
gigavolt unit.
|
HECTOVOLT
hectovolt unit.
|
KILOVOLT
kilovolt unit.
|
MEGAVOLT
megavolt unit.
|
MICROVOLT
microvolt unit.
|
MILLIVOLT
millivolt unit.
|
NANOVOLT
nanovolt unit.
|
PETAVOLT
petavolt unit.
|
PICOVOLT
picovolt unit.
|
TERAVOLT
teravolt unit.
|
VOLT
volt unit.
|
YOCTOVOLT
yoctovolt unit.
|
YOTTAVOLT
yottavolt unit.
|
ZEPTOVOLT
zeptovolt unit.
|
ZETTAVOLT
zettavolt unit.
|
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 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(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 © 2006–2017 Open Microscopy Environment. All rights reserved.