public enum BucketSize extends Enum<BucketSize>
| Enum Constant and Description |
|---|
DAY |
FIFTEEN_MINS |
FIVE_MINS |
HALF_HOUR |
ONE_HOUR |
TEN_MINS |
| Modifier and Type | Method and Description |
|---|---|
long |
getMs() |
static BucketSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketSize FIVE_MINS
public static final BucketSize TEN_MINS
public static final BucketSize FIFTEEN_MINS
public static final BucketSize HALF_HOUR
public static final BucketSize ONE_HOUR
public static final BucketSize DAY
public static BucketSize[] values()
for (BucketSize c : BucketSize.values()) System.out.println(c);
public static BucketSize 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 long getMs()
Copyright © 2014 Calrissian. All Rights Reserved.