chapter_001/src/main/java/ru/job4j/calculator/calculators/EngCalculator.java
/**
     * Fill actions in a list.
     */
Fill actions in a list.
Fill actions in a list .
@Override
    public void fillActions() {
        this.actions = new HashMap<>();
        for (AbstractCalculator calculator : this.simpleCalculator) {
            calculator.fillActions();
            for (String action : calculator.getActions()) {
                this.actions.put(action, calculator);
            }
        }
    }
@ Override public void fillActions ( ) { this . actions = new HashMap < > ( ) ; for ( AbstractCalculator calculator : this . simpleCalculator ) { calculator . fillActions ( ) ; for ( String action : calculator . getActions ( ) ) { this . actions . put ( action , calculator ) ; } } }
Fill actions in a list.
Fill actions in a list .