public enum TotalsCalculation extends java.lang.Enum<TotalsCalculation>
| Enum Constant and Description |
|---|
Average
Specifies average.
|
Count
Specifies the number of non-empty cells.
|
CountNums
Specifies the number of cells with numeric values.
|
Custom
Specifies a custom calculation.
|
Max
Specifies the maximum value.
|
Min
Specifies the minimum value.
|
None
Specifies no calculation.
|
StdDev
Specifies the standard deviation.
|
Sum
Specifies the sum.
|
Var
Specifies variance.
|
| Modifier and Type | Method and Description |
|---|---|
static TotalsCalculation |
forValue(int value) |
int |
getValue() |
static TotalsCalculation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TotalsCalculation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TotalsCalculation None
public static final TotalsCalculation Sum
public static final TotalsCalculation Average
public static final TotalsCalculation Count
public static final TotalsCalculation CountNums
public static final TotalsCalculation Min
public static final TotalsCalculation Max
public static final TotalsCalculation StdDev
public static final TotalsCalculation Var
public static final TotalsCalculation Custom
public static TotalsCalculation[] values()
for (TotalsCalculation c : TotalsCalculation.values()) System.out.println(c);
public static TotalsCalculation 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 int getValue()
public static TotalsCalculation forValue(int value)