Package com.storedobject.chart
Record Class BoxplotData.Boxplot
java.lang.Object
java.lang.Record
com.storedobject.chart.BoxplotData.Boxplot
- Record Components:
- lower- The lower bound of the data.
- q1- The first quartile (Q1), representing the 25th percentile of the data.
- median- The median, representing the 50th percentile of the data.
- q3- The third quartile (Q3), representing the 75th percentile of the data.
- upper- The upper bound of the data.
- Enclosing class:
- BoxplotData
public static record BoxplotData.Boxplot(Number lower, Number q1, Number median, Number q3, Number upper)
extends Record
Represents a boxplot data record with the key statistical parts of a boxplot.
 The components include lower bound, first quartile (Q1), median, third quartile (Q3),
 and upper bound.
 This record provides an immutable representation of these values.
- Author:
- Syam
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.lower()Returns the value of thelowerrecord component.median()Returns the value of themedianrecord component.q1()Returns the value of theq1record component.q3()Returns the value of theq3record component.toString()Returns a string representation of this record class.upper()Returns the value of theupperrecord component.
- 
Constructor Details- 
BoxplotCreates an instance of aBoxplotrecord class.
 
- 
- 
Method Details- 
toString
- 
hashCode
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
lower
- 
q1
- 
median
- 
q3
- 
upper
 
-