public static enum ResultEnvelope.Which extends Enum<ResultEnvelope.Which>
Enum Constant and Description |
---|
AVERAGE |
BEST_CASE |
POINT_ESTIMATE |
SPREAD |
WORST_CASE |
Modifier and Type | Method and Description |
---|---|
String |
toHumanString()
Return a human readable string of this value
|
static ResultEnvelope.Which |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultEnvelope.Which[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultEnvelope.Which BEST_CASE
public static final ResultEnvelope.Which WORST_CASE
public static final ResultEnvelope.Which POINT_ESTIMATE
public static final ResultEnvelope.Which SPREAD
public static final ResultEnvelope.Which AVERAGE
public static ResultEnvelope.Which[] values()
for (ResultEnvelope.Which c : ResultEnvelope.Which.values()) System.out.println(c);
public static ResultEnvelope.Which 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 toHumanString()
Copyright © 2019. All rights reserved.