public enum UnitsPower extends Enum<UnitsPower> implements Enumeration
Enum Constant and Description |
---|
AW |
CW |
DAW |
DW |
EXAW |
FW |
GIGAW |
HW |
KW |
MEGAW |
MICROW |
MW |
NW |
PETAW |
PW |
TERAW |
W |
YOTTAW |
YW |
ZETTAW |
ZW |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsPower newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsPower newUnit) |
static UnitsPower |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsPower |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsPower[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsPower YOTTAW
public static final UnitsPower ZETTAW
public static final UnitsPower EXAW
public static final UnitsPower PETAW
public static final UnitsPower TERAW
public static final UnitsPower GIGAW
public static final UnitsPower MEGAW
public static final UnitsPower KW
public static final UnitsPower HW
public static final UnitsPower DAW
public static final UnitsPower W
public static final UnitsPower DW
public static final UnitsPower CW
public static final UnitsPower MW
public static final UnitsPower MICROW
public static final UnitsPower NW
public static final UnitsPower PW
public static final UnitsPower FW
public static final UnitsPower AW
public static final UnitsPower ZW
public static final UnitsPower YW
private final String value
public static UnitsPower[] values()
for (UnitsPower c : UnitsPower.values()) System.out.println(c);
public static UnitsPower 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 UnitsPower fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<UnitsPower>
public static <T extends PrimitiveNumber> Power create(T newValue, UnitsPower newUnit)
public static <T extends Number> Power create(T newValue, UnitsPower newUnit)
Copyright © 2015 Open Microscopy Environment