public enum Bucket extends Enum<Bucket>
| Enum Constant and Description |
|---|
ONE_HOUR |
SIX_HOUR |
TWENTY_FOUR_HOUR |
| Modifier and Type | Method and Description |
|---|---|
static Bucket |
fromString(String table) |
String |
toString() |
static Bucket |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bucket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bucket ONE_HOUR
public static final Bucket SIX_HOUR
public static final Bucket TWENTY_FOUR_HOUR
public static Bucket[] values()
for (Bucket c : Bucket.values()) System.out.println(c);
public static Bucket 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 © 2008-2014 Red Hat, Inc.. All Rights Reserved.