- The class you create, e.g.,
Program
class implements Operator. - It holds an ordered list of other operators.
- When told to
execute
, it will simply callexecte
on 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