Record Class SimFrameFunctionAnalyzer.FrameResult
java.lang.Object
java.lang.Record
io.nosqlbench.scenarios.simframe.planning.SimFrameFunctionAnalyzer.FrameResult
- Enclosing class:
SimFrameFunctionAnalyzer<A extends SimFrameFunction<? extends InvokableResult>,C extends Record>
public static record SimFrameFunctionAnalyzer.FrameResult(double value, SimFrameAction action)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionFrameResult(double value, SimFrameAction action) Creates an instance of aFrameResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.doublevalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
FrameResult
Creates an instance of aFrameResultrecord class.- Parameters:
value- the value for thevaluerecord componentaction- the value for theactionrecord 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. -
value
public double value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
action
Returns the value of theactionrecord component.- Returns:
- the value of the
actionrecord component
-