public static class StatisticValues.Builder extends Object
| Constructor and Description |
|---|
StatisticValues.Builder()
Creates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
StatisticValues |
build()
Returns a newly-created
StatisticSet based on the contents of the Builder. |
StatisticValues.Builder |
maximum(double maximum)
The maximum value of the sample set.
|
StatisticValues.Builder |
minimum(double minimum)
The minimum value of the sample set.
|
StatisticValues.Builder |
sampleCount(double sampleCount)
The the number of samples used for the statistic set.
|
StatisticValues.Builder |
sum(double sum)
The sum of values for the sample set.
|
public StatisticValues.Builder()
StatisticValues.builder().public StatisticValues.Builder maximum(double maximum)
maximum - the maximum value of the sample setBuilder objectpublic StatisticValues.Builder minimum(double minimum)
minimum - the minimum value of the sample setBuilder objectpublic StatisticValues.Builder sampleCount(double sampleCount)
sampleCount - the number of samples used for the statistic setBuilder objectpublic StatisticValues.Builder sum(double sum)
sum - the sum of values for the sample setBuilder objectpublic StatisticValues build()
StatisticSet based on the contents of the Builder.Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.