< Closures AutoProof Code Repository Composite >

Command

Category: Design Pattern

Source: FAC'07

Description

The command pattern is an encapsulation of a command in an object. Here we use inheritance to model arbitrary commands that can be executed.

download source

Code