public class BoxPlots
extends java.lang.Object
BoxPlot instances| Modifier and Type | Method and Description |
|---|---|
static double |
computeMax(java.lang.Iterable<? extends BoxPlot> boxPlots)
Compute the maximum of the given
BoxPlots. |
static double |
computeMin(java.lang.Iterable<? extends BoxPlot> boxPlots)
Compute the minimum of the given
BoxPlots. |
static BoxPlot |
create(double minimum,
double lowerQuantile,
double median,
double upperQuantile,
double maximum)
Creates a new
BoxPlot |
static BoxPlot |
create(double minimum,
double lowerQuantile,
double median,
double upperQuantile,
double maximum,
double mean)
Creates a new
BoxPlot |
static BoxPlot |
create(java.util.stream.DoubleStream stream)
Creates a new
BoxPlot from the given stream of
double values |
static double |
getMax(double optionalMax,
java.util.Collection<? extends BoxPlot> boxPlots)
If the given optional value is not NaN, then it will be returned.
|
static double |
getMin(double optionalMin,
java.util.Collection<? extends BoxPlot> boxPlots)
If the given optional value is not NaN, then it will be returned.
|
public static BoxPlot create(java.util.stream.DoubleStream stream)
BoxPlot from the given stream of
double valuesstream - The stream of valuesBoxPlotpublic static BoxPlot create(double minimum, double lowerQuantile, double median, double upperQuantile, double maximum)
BoxPlotminimum - The minimumlowerQuantile - The lower quantilemedian - The medianupperQuantile - The upper quantilemaximum - The maximumBoxPlotpublic static BoxPlot create(double minimum, double lowerQuantile, double median, double upperQuantile, double maximum, double mean)
BoxPlotminimum - The minimumlowerQuantile - The lower quantilemedian - The medianupperQuantile - The upper quantilemaximum - The maximummean - The meanBoxPlotpublic static double computeMin(java.lang.Iterable<? extends BoxPlot> boxPlots)
BoxPlots. If the given
sequence is empty, then POSITIVE_INFINITY will
be returned.boxPlots - The BoxPlotspublic static double computeMax(java.lang.Iterable<? extends BoxPlot> boxPlots)
BoxPlots. If the given
sequence is empty, then NEGATIVE_INFINITY will
be returned.boxPlots - The BoxPlotspublic static double getMin(double optionalMin,
java.util.Collection<? extends BoxPlot> boxPlots)
BoxPlots will be returned.
If the given collection is empty, or none of its elements has a
finite minimum, then 0.0 will be returned.optionalMin - The optional minimum valueboxPlots - The BoxPlotspublic static double getMax(double optionalMax,
java.util.Collection<? extends BoxPlot> boxPlots)
BoxPlots will be returned.
If the given collection is empty, or none of its elements has a
finite maximum, then 1.0 will be returned.optionalMax - The optional maximum valueboxPlots - The BoxPlotsCopyright © 2019. All Rights Reserved.