Record Class Range
java.lang.Object
java.lang.Record
ai.timefold.solver.benchmark.impl.report.Range
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleaverage()Returns the value of theaveragerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.doublemax()Returns the value of themaxrecord component.doublemedian()Returns the value of themedianrecord component.doublemin()Returns the value of theminrecord component.doubleq1()Returns the value of theq1record component.doubleq3()Returns the value of theq3record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Range
public Range(String label, double min, double q1, double median, double q3, double max, double average) Creates an instance of aRangerecord class.- Parameters:
label- the value for thelabelrecord componentmin- the value for theminrecord componentq1- the value for theq1record componentmedian- the value for themedianrecord componentq3- the value for theq3record componentmax- the value for themaxrecord componentaverage- the value for theaveragerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
label
Returns the value of thelabelrecord component.- Returns:
- the value of the
labelrecord component
-
min
public double min()Returns the value of theminrecord component.- Returns:
- the value of the
minrecord component
-
q1
public double q1()Returns the value of theq1record component.- Returns:
- the value of the
q1record component
-
median
public double median()Returns the value of themedianrecord component.- Returns:
- the value of the
medianrecord component
-
q3
public double q3()Returns the value of theq3record component.- Returns:
- the value of the
q3record component
-
max
public double max()Returns the value of themaxrecord component.- Returns:
- the value of the
maxrecord component
-
average
public double average()Returns the value of theaveragerecord component.- Returns:
- the value of the
averagerecord component
-