设计模式
反馈或交流请加
微信
并注明来意
(opens in a new tab)
skills
design-mode
行为型
状态(State)
状态(State)
允许对象在内部状态改变时改变它的行为, 对象看起来好象改了它的类。
观察者(Observer)
策略(Strategy)