public enum MiddleMetric extends java.lang.Enum<MiddleMetric>
Enum Constant and Description |
---|
MEAN |
MEDIAN |
WEIBULL_MEAN |
WEIBULL_MEDIAN |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
humanReadable |
Modifier and Type | Method and Description |
---|---|
static MiddleMetric |
fromName(java.lang.String name)
Create a MiddleMetric from a string name.
|
java.lang.String |
toString()
Get the human-readable string name for this MiddleMetric.
|
static MiddleMetric |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MiddleMetric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MiddleMetric MEAN
public static final MiddleMetric MEDIAN
public static final MiddleMetric WEIBULL_MEAN
public static final MiddleMetric WEIBULL_MEDIAN
public static MiddleMetric[] values()
for (MiddleMetric c : MiddleMetric.values()) System.out.println(c);
public static MiddleMetric 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MiddleMetric>
public static MiddleMetric fromName(java.lang.String name)
name
-