public enum StatisticMode extends java.lang.Enum<StatisticMode>
Field statistics mode enumeration.
Provides common statistics for a single field. SuperMap provides six statistical functions, the maximum value, the minimum value, the average value of the statistical field, the sum, the standard deviation and the variance.
| Enum Constant and Description |
|---|
AVERAGE
The average value of the selected fields of the statistics.
|
MAX
The maximum value of the selected fields of the statistics.
|
MIN
The minimum value of the selected fields of the statistics.
|
STDDEVIATION
The standard deviation of the selected fields of the statistics.
|
SUM
The sum of the selected fields of the statistics.
|
VARIANCE
The variance of the selected fields of the statistics.
|
| Modifier and Type | Method and Description |
|---|---|
static StatisticMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatisticMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final StatisticMode AVERAGE
public static final StatisticMode MAX
public static final StatisticMode MIN
public static final StatisticMode STDDEVIATION
The formula of the standard deviation is :

σ is the standard deviation, x is the field value of the selected field, n represents the number of elements contained in the field, and i is the integer from 1 to n, and M is the average value of the field.
public static final StatisticMode SUM
public static final StatisticMode VARIANCE
The formula of the variance is :

V is the variance, x is the field value of the selected field, n represents the number of elements contained in the field, and i is the integer from 1 to n, and M is the average value of the field.
public static StatisticMode[] values()
for (StatisticMode c : StatisticMode.values())
System.out.println(c);
public static StatisticMode 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 null