The Command Pattern
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.
KeywordsCalculator Class Operation Method Calling Component Method Invocation Calculator Object
© Adam Freeman 2015