Package io.opencensus.implcore.stats
Class RecordUtils.CreateMutableSumDouble
- java.lang.Object
-
- io.opencensus.implcore.stats.RecordUtils.CreateMutableSumDouble
-
- All Implemented Interfaces:
Function<Measure.MeasureDouble,MutableAggregation>
- Enclosing class:
- RecordUtils
private static final class RecordUtils.CreateMutableSumDouble extends java.lang.Object implements Function<Measure.MeasureDouble,MutableAggregation>
-
-
Field Summary
Fields Modifier and Type Field Description private static RecordUtils.CreateMutableSumDouble
INSTANCE
-
Constructor Summary
Constructors Modifier Constructor Description private
CreateMutableSumDouble()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableAggregation
apply(Measure.MeasureDouble arg)
Applies the function to the given argument.
-
-
-
Field Detail
-
INSTANCE
private static final RecordUtils.CreateMutableSumDouble INSTANCE
-
-
Method Detail
-
apply
public MutableAggregation apply(Measure.MeasureDouble arg)
Description copied from interface:Function
Applies the function to the given argument.- Specified by:
apply
in interfaceFunction<Measure.MeasureDouble,MutableAggregation>
- Parameters:
arg
- the argument to the function.- Returns:
- the result of the function.
-
-