Holds calculation data. Builder pattern is used for readability in creation of the object. Slightly different from normal Builder Pattern. Please note that the use of the Builder pattern is not needed here. Simple accessors and setters backed my variable are needed.
Christopher Rucinski
- 319
- 2
- 10
Reformatted question and added more code. Included most problem-specific code, but commented out non-essential code.
Christopher Rucinski
- 319
- 2
- 10
Showed a secondary way of doing the formatting in the Expressions. My original code used a custom class, but more well-known Formatters can be used
Christopher Rucinski
- 319
- 2
- 10