Serializable
, Comparable<BucketGranularity>
public enum BucketGranularity extends Enum<BucketGranularity>
Enum Constant | Description |
---|---|
E12 |
|
E192 |
|
E24 |
|
E48 |
|
E6 |
|
E96 |
|
POWERSOF2 |
|
R10 |
|
R20 |
|
R40 |
|
R5 |
|
R80 |
|
SERIES_125 |
Modifier and Type | Method | Description |
---|---|---|
static BucketGranularity |
fromString(String value) |
Tries find the enum instance for the given value
|
String |
getValue() |
Returns the display as defined in the preferred number article
|
static BucketGranularity |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static BucketGranularity[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketGranularity R5
public static final BucketGranularity R10
public static final BucketGranularity R20
public static final BucketGranularity R40
public static final BucketGranularity R80
public static final BucketGranularity SERIES_125
public static final BucketGranularity E6
public static final BucketGranularity E12
public static final BucketGranularity E24
public static final BucketGranularity E48
public static final BucketGranularity E96
public static final BucketGranularity E192
public static final BucketGranularity POWERSOF2
public static BucketGranularity[] values()
for (BucketGranularity c : BucketGranularity.values()) System.out.println(c);
public static BucketGranularity 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 BucketGranularity fromString(String value)
value
- the value to search forpublic String getValue()