设计模式—状态模式

老样子: web 其实状态模式怎么说呢: 就是这样,固然你也能够写上千行的if语句,不过很难维护啊!!!!数据结构 继续提示:依赖倒转原则svg 状态抽象类:code interface State{ static handle(String state); } 具体实现了:xml ConcretreStateA implements State{ static h
相关文章
相关标签/搜索