Aggregation.Distribution
instead.@Immutable @Deprecated public abstract static class Aggregation.Mean extends Aggregation
MeasureValue
s.Aggregation.Count, Aggregation.Distribution, Aggregation.LastValue, Aggregation.Mean, Aggregation.Sum
Modifier and Type | Method and Description |
---|---|
static Aggregation.Mean |
create()
Deprecated.
Construct a
Mean . |
<T> T |
match(Function<? super Aggregation.Sum,T> p0,
Function<? super Aggregation.Count,T> p1,
Function<? super Aggregation.Distribution,T> p2,
Function<? super Aggregation.LastValue,T> p3,
Function<? super Aggregation,T> defaultFunction)
Deprecated.
Applies the given match function to the underlying data type.
|
public static Aggregation.Mean create()
Mean
.Mean
.public final <T> T match(Function<? super Aggregation.Sum,T> p0, Function<? super Aggregation.Count,T> p1, Function<? super Aggregation.Distribution,T> p2, Function<? super Aggregation.LastValue,T> p3, Function<? super Aggregation,T> defaultFunction)
Aggregation
match
in class Aggregation