Record Class UnparseEvaluation

java.lang.Object
java.lang.Record
org.variantsync.diffdetective.experiments.thesis_es.UnparseEvaluation
All Implemented Interfaces:
CSV

public record UnparseEvaluation(int[] dataTest, int[] diffTest, int[] diffSemEqTest, int[] treeBeforeTest, int[] treeAfterTest) extends Record implements CSV
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int[]
    The field for the dataTest record component.
    private final int[]
    The field for the diffSemEqTest record component.
    private final int[]
    The field for the diffTest record component.
    private final int[]
    The field for the treeAfterTest record component.
    private final int[]
    The field for the treeBeforeTest record component.

    Fields inherited from interface org.variantsync.diffdetective.util.CSV

    DEFAULT_CSV_DELIMITER
  • Constructor Summary

    Constructors
    Constructor
    Description
    UnparseEvaluation(int[] dataTest, int[] diffTest, int[] diffSemEqTest, int[] treeBeforeTest, int[] treeAfterTest)
    Creates an instance of a UnparseEvaluation record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int[]
    Returns the value of the dataTest record component.
    int[]
    Returns the value of the diffSemEqTest record component.
    int[]
    Returns the value of the diffTest record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    static String
    makeHeader(String delimiter)
     
    toCSV(String delimiter)
    Convert this value into a CSV row using a custom CSV delimiter.
    final String
    Returns a string representation of this record class.
    int[]
    Returns the value of the treeAfterTest record component.
    int[]
    Returns the value of the treeBeforeTest record component.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.variantsync.diffdetective.util.CSV

    toCSV
  • Field Details

    • dataTest

      private final int[] dataTest
      The field for the dataTest record component.
    • diffTest

      private final int[] diffTest
      The field for the diffTest record component.
    • diffSemEqTest

      private final int[] diffSemEqTest
      The field for the diffSemEqTest record component.
    • treeBeforeTest

      private final int[] treeBeforeTest
      The field for the treeBeforeTest record component.
    • treeAfterTest

      private final int[] treeAfterTest
      The field for the treeAfterTest record component.
  • Constructor Details

    • UnparseEvaluation

      public UnparseEvaluation(int[] dataTest, int[] diffTest, int[] diffSemEqTest, int[] treeBeforeTest, int[] treeAfterTest)
      Creates an instance of a UnparseEvaluation record class.
      Parameters:
      dataTest - the value for the dataTest record component
      diffTest - the value for the diffTest record component
      diffSemEqTest - the value for the diffSemEqTest record component
      treeBeforeTest - the value for the treeBeforeTest record component
      treeAfterTest - the value for the treeAfterTest record component
  • Method Details

    • toCSV

      public String toCSV(String delimiter)
      Description copied from interface: CSV
      Convert this value into a CSV row using a custom CSV delimiter.
      Specified by:
      toCSV in interface CSV
    • makeHeader

      public static String makeHeader(String delimiter)
    • 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 Objects::equals(Object,Object).
      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.
    • dataTest

      public int[] dataTest()
      Returns the value of the dataTest record component.
      Returns:
      the value of the dataTest record component
    • diffTest

      public int[] diffTest()
      Returns the value of the diffTest record component.
      Returns:
      the value of the diffTest record component
    • diffSemEqTest

      public int[] diffSemEqTest()
      Returns the value of the diffSemEqTest record component.
      Returns:
      the value of the diffSemEqTest record component
    • treeBeforeTest

      public int[] treeBeforeTest()
      Returns the value of the treeBeforeTest record component.
      Returns:
      the value of the treeBeforeTest record component
    • treeAfterTest

      public int[] treeAfterTest()
      Returns the value of the treeAfterTest record component.
      Returns:
      the value of the treeAfterTest record component