public enum Aggregator extends Enum<Aggregator>
Enum Constant and Description |
---|
AVERAGE |
CARDINALITY |
LARGEST |
MAXIMUM |
MINIMUM |
NORM1 |
NORM2 |
PRODUCT |
PRODUCT2 |
SMALLEST |
SUM |
SUM2 |
Modifier and Type | Method and Description |
---|---|
<N extends Number> |
getFunction(AggregatorSet<N> collection) |
static Aggregator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregator AVERAGE
public static final Aggregator CARDINALITY
public static final Aggregator LARGEST
public static final Aggregator MAXIMUM
public static final Aggregator MINIMUM
public static final Aggregator NORM1
public static final Aggregator NORM2
public static final Aggregator PRODUCT
public static final Aggregator PRODUCT2
public static final Aggregator SMALLEST
public static final Aggregator SUM
public static final Aggregator SUM2
public static Aggregator[] values()
for (Aggregator c : Aggregator.values()) System.out.println(c);
public static Aggregator 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 nullpublic final <N extends Number> AggregatorFunction<N> getFunction(AggregatorSet<N> collection)
Copyright © 2019 Optimatika. All rights reserved.