Class BasicInterpreterResultMerger

java.lang.Object
org.palladiosimulator.simulizar.interpreter.result.impl.BasicInterpreterResultMerger
All Implemented Interfaces:
InterpreterResultMerger

public class BasicInterpreterResultMerger extends Object implements InterpreterResultMerger
  • Constructor Details

    • BasicInterpreterResultMerger

      @Inject public BasicInterpreterResultMerger()
  • Method Details

    • merge

      public InterpreterResult merge(InterpreterResult previousResult, InterpreterResult newResult)
      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 interface InterpreterResultMerger