public enum UnitsFrequency extends Enum<UnitsFrequency> implements Enumeration
Enum Constant and Description |
---|
AHZ |
CHZ |
DAHZ |
DHZ |
EXAHZ |
FHZ |
GIGAHZ |
HHZ |
HZ |
KHZ |
MEGAHZ |
MHZ |
MICROHZ |
NHZ |
PETAHZ |
PHZ |
TERAHZ |
YHZ |
YOTTAHZ |
ZETTAHZ |
ZHZ |
Modifier and Type | Method and Description |
---|---|
static <T extends Number> |
create(T newValue,
UnitsFrequency newUnit) |
static <T extends PrimitiveNumber> |
create(T newValue,
UnitsFrequency newUnit) |
static UnitsFrequency |
fromString(String value) |
String |
getValue() |
String |
toString() |
static UnitsFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsFrequency YOTTAHZ
public static final UnitsFrequency ZETTAHZ
public static final UnitsFrequency EXAHZ
public static final UnitsFrequency PETAHZ
public static final UnitsFrequency TERAHZ
public static final UnitsFrequency GIGAHZ
public static final UnitsFrequency MEGAHZ
public static final UnitsFrequency KHZ
public static final UnitsFrequency HHZ
public static final UnitsFrequency DAHZ
public static final UnitsFrequency HZ
public static final UnitsFrequency DHZ
public static final UnitsFrequency CHZ
public static final UnitsFrequency MHZ
public static final UnitsFrequency MICROHZ
public static final UnitsFrequency NHZ
public static final UnitsFrequency PHZ
public static final UnitsFrequency FHZ
public static final UnitsFrequency AHZ
public static final UnitsFrequency ZHZ
public static final UnitsFrequency YHZ
private final String value
public static UnitsFrequency[] values()
for (UnitsFrequency c : UnitsFrequency.values()) System.out.println(c);
public static UnitsFrequency 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 UnitsFrequency fromString(String value) throws EnumerationException
EnumerationException
public String getValue()
public String toString()
toString
in class Enum<UnitsFrequency>
public static <T extends PrimitiveNumber> Frequency create(T newValue, UnitsFrequency newUnit)
public static <T extends Number> Frequency create(T newValue, UnitsFrequency newUnit)
Copyright © 2016 Open Microscopy Environment