<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>设计模式 on 艺术码农的小栈</title><link>https://itart.cn/tags/design-pattern.html</link><description>Recent content in 设计模式 on 艺术码农的小栈</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 27 Dec 2020 02:33:26 +0800</lastBuildDate><atom:link href="https://itart.cn/tags/design-pattern/index.xml" rel="self" type="application/rss+xml"/><item><title>设计模式</title><link>https://itart.cn/blogs/2020/design-patterns/design-patterns.html</link><pubDate>Sun, 27 Dec 2020 02:33:26 +0800</pubDate><guid>https://itart.cn/blogs/2020/design-patterns/design-patterns.html</guid><description>&lt;h2 id="状态模式"&gt;状态模式&lt;/h2&gt;
&lt;p&gt;状态模式用与解决系统中复杂对象的状态转换及不同状态下行为的封装问题。&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;定义：&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;允许一个对象在其内部状态改变时改变他的行为，对象看起来似乎修改了它的类。&lt;/p&gt;</description></item></channel></rss>