public enum HistogramGranularity extends java.lang.Enum<HistogramGranularity>
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
identifier |
| Modifier and Type | Method and Description |
|---|---|
static HistogramGranularity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HistogramGranularity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HistogramGranularity MINUTE
public static final HistogramGranularity HOUR
public static final HistogramGranularity DAY
public static HistogramGranularity[] values()
for (HistogramGranularity c : HistogramGranularity.values()) System.out.println(c);
public static HistogramGranularity valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2023. All rights reserved.