Record Class RCurveFrameParams
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.optimizers.planners.rcurve.RCurveFrameParams
-
Constructor Summary
ConstructorsConstructorDescriptionRCurveFrameParams(double rate, int step, int maxsteps, String description) Creates an instance of aRCurveFrameParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intmaxsteps()Returns the value of themaxstepsrecord component.doublerate()Returns the value of theraterecord component.doubleratio()intstep()Returns the value of thesteprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RCurveFrameParams
Creates an instance of aRCurveFrameParamsrecord class.- Parameters:
rate- the value for theraterecord componentstep- the value for thesteprecord componentmaxsteps- the value for themaxstepsrecord componentdescription- the value for thedescriptionrecord component
-
-
Method Details
-
ratio
public double ratio() -
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. -
rate
public double rate()Returns the value of theraterecord component.- Returns:
- the value of the
raterecord component
-
step
public int step()Returns the value of thesteprecord component.- Returns:
- the value of the
steprecord component
-
maxsteps
public int maxsteps()Returns the value of themaxstepsrecord component.- Returns:
- the value of the
maxstepsrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-