Record Class UnparseEvaluation
java.lang.Object
java.lang.Record
org.variantsync.diffdetective.experiments.thesis_es.UnparseEvaluation
- All Implemented Interfaces:
CSV
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int[]The field for thedataTestrecord component.private final int[]The field for thediffSemEqTestrecord component.private final int[]The field for thediffTestrecord component.private final int[]The field for thetreeAfterTestrecord component.private final int[]The field for thetreeBeforeTestrecord component.Fields inherited from interface org.variantsync.diffdetective.util.CSV
DEFAULT_CSV_DELIMITER -
Constructor Summary
ConstructorsConstructorDescriptionUnparseEvaluation(int[] dataTest, int[] diffTest, int[] diffSemEqTest, int[] treeBeforeTest, int[] treeAfterTest) Creates an instance of aUnparseEvaluationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionint[]dataTest()Returns the value of thedataTestrecord component.int[]Returns the value of thediffSemEqTestrecord component.int[]diffTest()Returns the value of thediffTestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static StringmakeHeader(String delimiter) Convert this value into a CSV row using a custom CSVdelimiter.final StringtoString()Returns a string representation of this record class.int[]Returns the value of thetreeAfterTestrecord component.int[]Returns the value of thetreeBeforeTestrecord component.
-
Field Details
-
dataTest
private final int[] dataTestThe field for thedataTestrecord component. -
diffTest
private final int[] diffTestThe field for thediffTestrecord component. -
diffSemEqTest
private final int[] diffSemEqTestThe field for thediffSemEqTestrecord component. -
treeBeforeTest
private final int[] treeBeforeTestThe field for thetreeBeforeTestrecord component. -
treeAfterTest
private final int[] treeAfterTestThe field for thetreeAfterTestrecord component.
-
-
Constructor Details
-
UnparseEvaluation
public UnparseEvaluation(int[] dataTest, int[] diffTest, int[] diffSemEqTest, int[] treeBeforeTest, int[] treeAfterTest) Creates an instance of aUnparseEvaluationrecord class.- Parameters:
dataTest- the value for thedataTestrecord componentdiffTest- the value for thediffTestrecord componentdiffSemEqTest- the value for thediffSemEqTestrecord componenttreeBeforeTest- the value for thetreeBeforeTestrecord componenttreeAfterTest- the value for thetreeAfterTestrecord component
-
-
Method Details
-
toCSV
Description copied from interface:CSVConvert this value into a CSV row using a custom CSVdelimiter. -
makeHeader
-
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. -
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. -
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 withObjects::equals(Object,Object). -
dataTest
public int[] dataTest()Returns the value of thedataTestrecord component.- Returns:
- the value of the
dataTestrecord component
-
diffTest
public int[] diffTest()Returns the value of thediffTestrecord component.- Returns:
- the value of the
diffTestrecord component
-
diffSemEqTest
public int[] diffSemEqTest()Returns the value of thediffSemEqTestrecord component.- Returns:
- the value of the
diffSemEqTestrecord component
-
treeBeforeTest
public int[] treeBeforeTest()Returns the value of thetreeBeforeTestrecord component.- Returns:
- the value of the
treeBeforeTestrecord component
-
treeAfterTest
public int[] treeAfterTest()Returns the value of thetreeAfterTestrecord component.- Returns:
- the value of the
treeAfterTestrecord component
-