public static enum Bandwidth.Period extends Enum<Bandwidth.Period>
Modifier and Type | Method and Description |
---|---|
static Bandwidth.Period |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bandwidth.Period[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bandwidth.Period DAY
public static final Bandwidth.Period HOUR
public static final Bandwidth.Period SECOND
public static Bandwidth.Period 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 Bandwidth.Period[] values()
for (Bandwidth.Period c : Bandwidth.Period.values()) System.out.println(c);