public enum PercentilesMethod extends Enum<PercentilesMethod>
| Enum Constant and Description |
|---|
HDR
The HDRHistogram method of calculating percentiles
|
TDIGEST
The TDigest method for calculating percentiles
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static PercentilesMethod |
resolveFromName(String name)
Returns the
PercentilesMethod for this method name. |
static PercentilesMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PercentilesMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentilesMethod TDIGEST
public static final PercentilesMethod HDR
public static PercentilesMethod[] values()
for (PercentilesMethod c : PercentilesMethod.values()) System.out.println(c);
public static PercentilesMethod 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 String getName()
public static PercentilesMethod resolveFromName(String name)
PercentilesMethod for this method name. returns
null if no PercentilesMethod exists for the name.Copyright © 2009–2017. All rights reserved.