Record Class FuzzReport.WeightSnapshot
java.lang.Object
java.lang.Record
org.ek9lang.compiler.fuzz.FuzzReport.WeightSnapshot
- Enclosing class:
FuzzReport
public static record FuzzReport.WeightSnapshot(long elapsedSeconds, int s1, int s2, int s3, int s4, int s5)
extends Record
Strand dispatch weight snapshot for adaptive weight timeline visualization.
-
Constructor Summary
ConstructorsConstructorDescriptionWeightSnapshot(long elapsedSeconds, int s1, int s2, int s3, int s4, int s5) Creates an instance of aWeightSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of theelapsedSecondsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ints1()Returns the value of thes1record component.ints2()Returns the value of thes2record component.ints3()Returns the value of thes3record component.ints4()Returns the value of thes4record component.ints5()Returns the value of thes5record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
WeightSnapshot
public WeightSnapshot(long elapsedSeconds, int s1, int s2, int s3, int s4, int s5) Creates an instance of aWeightSnapshotrecord class.- Parameters:
elapsedSeconds- the value for theelapsedSecondsrecord components1- the value for thes1record components2- the value for thes2record components3- the value for thes3record components4- the value for thes4record components5- the value for thes5record 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. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
elapsedSeconds
public long elapsedSeconds()Returns the value of theelapsedSecondsrecord component.- Returns:
- the value of the
elapsedSecondsrecord component
-
s1
public int s1()Returns the value of thes1record component.- Returns:
- the value of the
s1record component
-
s2
public int s2()Returns the value of thes2record component.- Returns:
- the value of the
s2record component
-
s3
public int s3()Returns the value of thes3record component.- Returns:
- the value of the
s3record component
-
s4
public int s4()Returns the value of thes4record component.- Returns:
- the value of the
s4record component
-
s5
public int s5()Returns the value of thes5record component.- Returns:
- the value of the
s5record component
-