state

  • 状态模式

    Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.(当一个对象内在改变的时候允许其改变行为,这个对象看起来像改变了其类。)

本文总阅读量 次 本站总访问量 次 本站总访客数