Java Command Design Pattern Live Coding #java #designpatterns

preview_player
Показать описание
What is it: The Command pattern encapsulates a request as an object, thereby allowing for parameterization of clients with operations, queuing of requests, and logging of the operations.

When to Use: Use the Command pattern when you want to decouple the sender and receiver of a request or when you want to support undo/redo functionality.

#java #designpatterns
Рекомендации по теме