Record Class VariantGenerationResult
java.lang.Object
java.lang.Record
org.variantsync.boosting.eval.util.VariantGenerationResult
- Record Components:
variantGenerationDir
- The directory where the variants were generatedvariantGroundTruthMap
- A map of variant names to their corresponding ground truth objectsvariantConfigFileMap
- A map of variant names to their corresponding configuration file paths
public record VariantGenerationResult(Path variantGenerationDir, Map<String,org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap, Map<String,Path> variantConfigFileMap)
extends Record
Represents the result of variant generation, including the directory where
the variants were generated, a map of variant names to their corresponding
ground truth objects, and a map of variant names to their corresponding
configuration file paths.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.Returns the value of thevariantConfigFileMap
record component.Returns the value of thevariantGenerationDir
record component.Returns the value of thevariantGroundTruthMap
record component.
-
Constructor Details
-
VariantGenerationResult
public VariantGenerationResult(Path variantGenerationDir, Map<String, org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap, Map<String, Path> variantConfigFileMap) Creates an instance of aVariantGenerationResult
record class.- Parameters:
variantGenerationDir
- the value for thevariantGenerationDir
record componentvariantGroundTruthMap
- the value for thevariantGroundTruthMap
record componentvariantConfigFileMap
- the value for thevariantConfigFileMap
record component
-
-
Method Details
-
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)
. -
variantGenerationDir
Returns the value of thevariantGenerationDir
record component.- Returns:
- the value of the
variantGenerationDir
record component
-
variantGroundTruthMap
public Map<String,org.variantsync.vevos.simulation.variability.pc.groundtruth.GroundTruth> variantGroundTruthMap()Returns the value of thevariantGroundTruthMap
record component.- Returns:
- the value of the
variantGroundTruthMap
record component
-
variantConfigFileMap
Returns the value of thevariantConfigFileMap
record component.- Returns:
- the value of the
variantConfigFileMap
record component
-