public enum CoverageAggregationMode extends Enum<CoverageAggregationMode>
Enum Constant and Description |
---|
COUNT_NON_ZERO
Treat (0/0) as "no data", then compute "# of non-zero data/# of data."
|
NONE
Aggregation that doesn't produce any value at all.
|
PRODUCT
x_1 * x_2 * x_3 + ...
|
SUM
Adds up numerator and denominator separately.
|
Modifier and Type | Field and Description |
---|---|
Ratio |
ZERO
Initial value of this aggregation mode, which is the output of the aggregation when
the data series is empty.
|
Modifier and Type | Method and Description |
---|---|
abstract Ratio |
aggregate(Ratio a,
Ratio b)
Combinator function.
|
static CoverageAggregationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoverageAggregationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoverageAggregationMode NONE
public static final CoverageAggregationMode SUM
public static final CoverageAggregationMode PRODUCT
public static final CoverageAggregationMode COUNT_NON_ZERO
public final Ratio ZERO
public static CoverageAggregationMode[] values()
for (CoverageAggregationMode c : CoverageAggregationMode.values()) System.out.println(c);
public static CoverageAggregationMode 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 © 2016–2021. All rights reserved.