- The class you create, e.g.,
Programclass implements Operator. - It holds an ordered list of other operators.
- When told to
execute, it will simply callexecteon each of its contained operators.
Port of schuchert.wikispaces.com
Composite Object Pattern Hints
Program class implements Operator.execute, it will simply call execte on each of its contained operators.
Comments