Package com.oracle.bmc.opsi.model
Class SummaryStatistics
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.SummaryStatistics
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SummaryStatistics extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Contains common summary statistics.
Note: Objects should always be created or deserialized using theSummaryStatistics.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSummaryStatistics.Builder
, which maintain a set of all explicitly set fields calledSummaryStatistics.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SummaryStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummaryStatistics.Builder
builder()
Create a new builder.boolean
equals(Object o)
Double
getAverage()
The average number in the data set.Double
getLowerQuartile()
The middle number between the smallest number and the median of the data set.Double
getMaximum()
The largest number in the data set.Double
getMedian()
The middle number in the data set.Double
getMinimum()
The smallest number in the data set.Double
getUpperQuartile()
The middle number between the median and the largest number of the data set.int
hashCode()
SummaryStatistics.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
SummaryStatistics
@Deprecated @ConstructorProperties({"minimum","maximum","average","median","lowerQuartile","upperQuartile"}) public SummaryStatistics(Double minimum, Double maximum, Double average, Double median, Double lowerQuartile, Double upperQuartile)
Deprecated.
-
-
Method Detail
-
builder
public static SummaryStatistics.Builder builder()
Create a new builder.
-
toBuilder
public SummaryStatistics.Builder toBuilder()
-
getMinimum
public Double getMinimum()
The smallest number in the data set.- Returns:
- the value
-
getMaximum
public Double getMaximum()
The largest number in the data set.- Returns:
- the value
-
getAverage
public Double getAverage()
The average number in the data set.- Returns:
- the value
-
getMedian
public Double getMedian()
The middle number in the data set.- Returns:
- the value
-
getLowerQuartile
public Double getLowerQuartile()
The middle number between the smallest number and the median of the data set.It’s also known as the 25th quartile.
- Returns:
- the value
-
getUpperQuartile
public Double getUpperQuartile()
The middle number between the median and the largest number of the data set.It’s also known as the 75th quartile.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-