Class ConstructionValidation.Result
java.lang.Object
org.variantsync.diffdetective.experiments.thesis_bm.ConstructionValidation.Result
- All Implemented Interfaces:
Metadata<ConstructionValidation.Result>
- Enclosing class:
ConstructionValidation
public static final class ConstructionValidation.Result
extends Object
implements Metadata<ConstructionValidation.Result>
Aggregate of the results of the three comparisons.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.Result>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.Result>
Metadata should be composable.void
setFromSnapshot
(LinkedHashMap<String, String> snap) snapshot()
Create a key-value store of the metadata that can be used for serialization.
-
Field Details
-
comparisons
-
ISEMIGROUP
public static final org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.Result> ISEMIGROUP
-
-
Constructor Details
-
Result
public Result()
-
-
Method Details
-
semigroup
public org.variantsync.functjonal.category.InplaceSemigroup<ConstructionValidation.Result> semigroup()Description copied from interface:Metadata
Metadata should be composable. Composition should be inplace to optimize performance.- Specified by:
semigroup
in interfaceMetadata<ConstructionValidation.Result>
-
snapshot
Description copied from interface:Metadata
Create a key-value store of the metadata that can be used for serialization.- Specified by:
snapshot
in interfaceMetadata<ConstructionValidation.Result>
- Returns:
- A LinkedHashMap that stores all relevant properties to export. The return type has to be a LinkedHashMap to obtain insertion-order iteration.
-
setFromSnapshot
- Specified by:
setFromSnapshot
in interfaceMetadata<ConstructionValidation.Result>
-