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

    Constructors
    Constructor
    Description
    WeightSnapshot(long elapsedSeconds, int s1, int s2, int s3, int s4, int s5)
    Creates an instance of a WeightSnapshot record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the value of the elapsedSeconds record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    s1()
    Returns the value of the s1 record component.
    int
    s2()
    Returns the value of the s2 record component.
    int
    s3()
    Returns the value of the s3 record component.
    int
    s4()
    Returns the value of the s4 record component.
    int
    s5()
    Returns the value of the s5 record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • WeightSnapshot

      public WeightSnapshot(long elapsedSeconds, int s1, int s2, int s3, int s4, int s5)
      Creates an instance of a WeightSnapshot record class.
      Parameters:
      elapsedSeconds - the value for the elapsedSeconds record component
      s1 - the value for the s1 record component
      s2 - the value for the s2 record component
      s3 - the value for the s3 record component
      s4 - the value for the s4 record component
      s5 - the value for the s5 record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • elapsedSeconds

      public long elapsedSeconds()
      Returns the value of the elapsedSeconds record component.
      Returns:
      the value of the elapsedSeconds record component
    • s1

      public int s1()
      Returns the value of the s1 record component.
      Returns:
      the value of the s1 record component
    • s2

      public int s2()
      Returns the value of the s2 record component.
      Returns:
      the value of the s2 record component
    • s3

      public int s3()
      Returns the value of the s3 record component.
      Returns:
      the value of the s3 record component
    • s4

      public int s4()
      Returns the value of the s4 record component.
      Returns:
      the value of the s4 record component
    • s5

      public int s5()
      Returns the value of the s5 record component.
      Returns:
      the value of the s5 record component