public enum UnitsLength extends Enum<UnitsLength> implements Enumeration
Enum Constant and Description |
---|
AM |
ANGSTROM |
CM |
DAM |
DM |
EXAM |
FM |
FT |
GIGAM |
HM |
IN |
KM |
LI |
LY |
M |
MEGAM |
MI |
MICROM |
MM |
NM |
PC |
PETAM |
PIXEL |
PM |
PT |
REFERENCEFRAME |
TERAM |
THOU |
UA |
YD |
YM |
YOTTAM |
ZETTAM |
ZM |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsLength newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsLength newUnit) |
static UnitsLength |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsLength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsLength YOTTAM
public static final UnitsLength ZETTAM
public static final UnitsLength EXAM
public static final UnitsLength PETAM
public static final UnitsLength TERAM
public static final UnitsLength GIGAM
public static final UnitsLength MEGAM
public static final UnitsLength KM
public static final UnitsLength HM
public static final UnitsLength DAM
public static final UnitsLength M
public static final UnitsLength DM
public static final UnitsLength CM
public static final UnitsLength MM
public static final UnitsLength MICROM
public static final UnitsLength NM
public static final UnitsLength PM
public static final UnitsLength FM
public static final UnitsLength AM
public static final UnitsLength ZM
public static final UnitsLength YM
public static final UnitsLength ANGSTROM
public static final UnitsLength THOU
public static final UnitsLength LI
public static final UnitsLength IN
public static final UnitsLength FT
public static final UnitsLength YD
public static final UnitsLength MI
public static final UnitsLength UA
public static final UnitsLength LY
public static final UnitsLength PC
public static final UnitsLength PT
public static final UnitsLength PIXEL
public static final UnitsLength REFERENCEFRAME
private final String value
public static UnitsLength[] values()
for (UnitsLength c : UnitsLength.values()) System.out.println(c);
public static UnitsLength 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 UnitsLength fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<UnitsLength>
public static <T extends PrimitiveNumber> Length create(T newValue, UnitsLength newUnit)
public static <T extends Number> Length create(T newValue, UnitsLength newUnit)
Copyright © 2015 Open Microscopy Environment