public enum Calculation extends Enum<Calculation>
Enum Constant and Description |
---|
AVERAGE |
COUNT |
COUNT_NUMS |
MAX |
MIN |
PRODUCT |
STD_DEV |
STD_DEV_P |
SUM |
VARIANCE |
VARIANCE_P |
Modifier and Type | Method and Description |
---|---|
static Calculation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Calculation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Calculation AVERAGE
public static final Calculation COUNT
public static final Calculation COUNT_NUMS
public static final Calculation MAX
public static final Calculation MIN
public static final Calculation PRODUCT
public static final Calculation STD_DEV
public static final Calculation STD_DEV_P
public static final Calculation SUM
public static final Calculation VARIANCE
public static final Calculation VARIANCE_P
public static Calculation[] values()
for (Calculation c : Calculation.values()) System.out.println(c);
public static Calculation 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 nullCopyright © 2020. All rights reserved.