Class BasicInterpreterResultMerger

    • Constructor Detail

      • BasicInterpreterResultMerger

        @Inject
        public BasicInterpreterResultMerger()
    • Method Detail

      • 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