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