命令模式

1 doSomething   unDo()

List<command>

Command.java

excute();

undo();

原文地址:https://www.cnblogs.com/adolfmc/p/3356326.html