class Object
Constants
- Adder
- AdvancedCalc
This is how we compose behaviours
AdvancedCalc
is a class which mixes traits AdvancedCalcT and DummyCalcT intoSimpleCalc
and implements the interfaceAdvancedCalculator
To avoid conflicts, alias methods in AdvancedCalcT (otherwise error will be raised) One can also suppress methods in DummyCalcT- AdvancedCalculator
- Calculator
- ProductCalcT
- SimpleCalc
- StatsCalcT