Command Pattern
Definition-encapsulates a request as an object, thereby letting you parameterize other objects with different request, queue or log requests, and support undoable.
Example:
Command Pattern
Definition-encapsulates a request as an object, thereby letting you parameterize other objects with different request, queue or log requests, and support undoable.
Example: