public static class SummaryStatistics.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SummaryStatistics.Builder |
average(Double average)
The average number in the data set.
|
SummaryStatistics |
build() |
SummaryStatistics.Builder |
copy(SummaryStatistics model) |
SummaryStatistics.Builder |
lowerQuartile(Double lowerQuartile)
The middle number between the smallest number and the median of the data set.
|
SummaryStatistics.Builder |
maximum(Double maximum)
The largest number in the data set.
|
SummaryStatistics.Builder |
median(Double median)
The middle number in the data set.
|
SummaryStatistics.Builder |
minimum(Double minimum)
The smallest number in the data set.
|
SummaryStatistics.Builder |
upperQuartile(Double upperQuartile)
The middle number between the median and the largest number of the data set.
|
public SummaryStatistics.Builder minimum(Double minimum)
The smallest number in the data set.
minimum
- the value to setpublic SummaryStatistics.Builder maximum(Double maximum)
The largest number in the data set.
maximum
- the value to setpublic SummaryStatistics.Builder average(Double average)
The average number in the data set.
average
- the value to setpublic SummaryStatistics.Builder median(Double median)
The middle number in the data set.
median
- the value to setpublic SummaryStatistics.Builder lowerQuartile(Double lowerQuartile)
The middle number between the smallest number and the median of the data set. It’s also known as the 25th quartile.
lowerQuartile
- the value to setpublic SummaryStatistics.Builder upperQuartile(Double upperQuartile)
The middle number between the median and the largest number of the data set. It’s also known as the 75th quartile.
upperQuartile
- the value to setpublic SummaryStatistics build()
public SummaryStatistics.Builder copy(SummaryStatistics model)
Copyright © 2016–2024. All rights reserved.