摘要: Command Pattern allows you to decouple the requester of an action from the object actually performs the action. A commandobject encapsulates a request to do something on a specific object.From dinner to the Command Pattern1.Implementing the Command interfacepublic interface Command{ public void exe. 阅读全文
posted @ 2012-04-18 17:52 qiangzhu 阅读(691) 评论(0) 推荐(0) 编辑