Project

General

Profile

Actions

Feature #5377

closed

Не поддерживается работа с несколькими CalculatorEngine

Added by Alexander Kamkin over 9 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Andrei Tatarnikov
Category:
Calculator
Target version:
Start date:
10/23/2014
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Непонятно, как использовать калькулятор и трансформер, если нужно использовать разные движки (CalculatorEngine), в разных частях проекта.
Статический Map неудобен. Нужно иметь возможность передавать движки в качестве параметра методов calculate и reduce.

Actions #1

Updated by Alexander Kamkin over 9 years ago

  • Status changed from New to Open

Methods Calculator.calculate(CalculatorEngine engine, ...) and Transformer.reduce(CalculatorEngine engine, ...) have been added.
Probably, refactoring of the subsystems is required.

Actions #2

Updated by Andrei Tatarnikov over 9 years ago

Возможно и нужен. На беглый взгляд не могу найти, что мне хотелось бы поменять.

Actions #3

Updated by Alexander Kamkin about 9 years ago

  • Subject changed from [calculator][transformer] Не поддерживается работа с несколькими CalculatorEngine to Не поддерживается работа с несколькими CalculatorEngine
  • Category set to Calculator
Actions #4

Updated by Andrei Tatarnikov over 8 years ago

  • Target version changed from 0.3 to 0.4
Actions #5

Updated by Alexander Kamkin almost 4 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF