The Command Pattern

  • Adam Freeman


The command pattern provides a mechanism by which details of how to invoke a method can be encapsulated so that the method can be invoked later or by a different component. Table 20-1 puts the command pattern into context.


Calculator Class Operation Method Calling Component Method Invocation Calculator Object 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2015

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.ChicagoUnited States

Personalised recommendations