public enum FrequencyUnit extends Enum<FrequencyUnit> implements HasCSSName
Modifier and Type | Method and Description |
---|---|
String |
css() |
static FrequencyUnit |
get(String unit) |
static FrequencyUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrequencyUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrequencyUnit HZ
public static final FrequencyUnit KHZ
public static FrequencyUnit[] values()
for (FrequencyUnit c : FrequencyUnit.values()) System.out.println(c);
public static FrequencyUnit 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 String css()
css
in interface HasCSSName
public static final FrequencyUnit get(String unit)
Copyright © 2018 Xalys. All rights reserved.