让我们假设我们以这种方式实现了命令模式
我对 Invoker 在这里的作用有点困惑。从我的角度来看:
或者我错过了什么?
java design-patterns command-pattern
command-pattern ×1
design-patterns ×1
java ×1