Visitor
Intent: Add operations to object structures without changing their classes.
When to use it
- Many unrelated operations over a stable structure
Example
Computing area, cost and BOQ across every element of a floor plan.
Intent: Add operations to object structures without changing their classes.
Computing area, cost and BOQ across every element of a floor plan.