public enum FrequencyUnitType extends Enum<FrequencyUnitType>
| Enum Constant and Description |
|---|
GHz
1 Giga Hertz = 1,000,000,000 Hz (10^9)
|
Hz
Hertz (Cycles per second)
|
KHz
1 Kilo Hertz = 1,000 Hz (10^3)
|
MHz
1 Mega Hertz = 1,000,000 Hz (10^6)
|
THz
1 Terra Hertz = 1,000,000,000,000 Hz (10^12)
|
| Modifier and Type | Method and Description |
|---|---|
static FrequencyUnitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrequencyUnitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrequencyUnitType THz
public static final FrequencyUnitType GHz
public static final FrequencyUnitType MHz
public static final FrequencyUnitType KHz
public static final FrequencyUnitType Hz
public static FrequencyUnitType[] values()
for (FrequencyUnitType c : FrequencyUnitType.values()) System.out.println(c);
public static FrequencyUnitType 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 nullCopyright © 2013–2022. All rights reserved.