Class BasicInterpreterResultMerger
java.lang.Object
org.palladiosimulator.simulizar.interpreter.result.impl.BasicInterpreterResultMerger
- All Implemented Interfaces:
InterpreterResultMerger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmerge
(InterpreterResult previousResult, InterpreterResult newResult) Merges two interpreter result instances.
-
Constructor Details
-
BasicInterpreterResultMerger
@Inject public BasicInterpreterResultMerger()
-
-
Method Details
-
merge
Merges two interpreter result instances. Attention: this method is not required to be idempotent. The passed result instances should not be used any further after the call to merge, as implementors are allowed to reuse one of the objects for the final result. This method is not idempotent. If one of the parameter is reusable, it will do so for performance reasons.- Specified by:
merge
in interfaceInterpreterResultMerger
-