public class Aggregators extends Object
Modifier and Type | Field and Description |
---|---|
static Aggregator |
ARRAY_NOBLANKS
Aggregator that assembles an array of all non-blank inputs.
|
static Aggregator |
ARRAY_WITHBLANKS
Aggregator that assembles an array of all inputs.
|
static Aggregator |
COUNT
Aggregator for counting items, with int-valued counter.
|
static Aggregator |
COUNT_LONG
Aggregator for counting items, with long-valued counter.
|
static Aggregator |
MAX
Aggregator that calculates the maximum.
|
static Aggregator |
MEAN
Aggregator that calculates the mean.
|
static Aggregator |
MEDIAN
Aggregator that calculates the median.
|
static Aggregator |
MIN
Aggregator that calculates the minimum.
|
static Aggregator |
NGOOD
Aggregator for counting non-blank items, with int-valued counter.
|
static Aggregator |
NGOOD_LONG
Aggregator for counting non-blank items, with long-valued counter.
|
static Aggregator |
POP_STDEV
Aggregator that calculates the population standard deviation.
|
static Aggregator |
SAMPLE_STDEV
Aggregator that calculates the sample standard deviation.
|
static Aggregator |
SUM
Aggregator for summing items.
|
Modifier and Type | Method and Description |
---|---|
static Aggregator |
getAggregator(String aggTxt)
Gets an aggregator instance from its name.
|
static Aggregator[] |
getAggregators()
Returns an array of useful Aggregator instances.
|
static String |
getOptionsDescription()
Returns an XML element listing the possible options for
specification of an Aggregator.
|
public static final Aggregator COUNT
public static final Aggregator NGOOD
public static final Aggregator SUM
public static final Aggregator MEAN
public static final Aggregator MEDIAN
public static final Aggregator SAMPLE_STDEV
public static final Aggregator POP_STDEV
public static final Aggregator MAX
public static final Aggregator MIN
public static final Aggregator ARRAY_NOBLANKS
public static final Aggregator ARRAY_WITHBLANKS
public static final Aggregator COUNT_LONG
public static final Aggregator NGOOD_LONG
public static Aggregator[] getAggregators()
public static Aggregator getAggregator(String aggTxt)
aggTxt
- string specification of aggregatorpublic static String getOptionsDescription()
getAggregator(String)
method.Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.