<?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://blog.hankmo.com/tags/%E7%8A%B6%E6%80%81%E6%A8%A1%E5%BC%8F/</link>
    <description>Recent content in 状态模式 on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 22 Jun 2021 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/%E7%8A%B6%E6%80%81%E6%A8%A1%E5%BC%8F/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Java设计模式(19)-状态模式</title>
      <link>https://blog.hankmo.com/posts/architecture/java-state-pattern/</link>
      <pubDate>Tue, 22 Jun 2021 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/architecture/java-state-pattern/</guid>
      <description>状态模式建议为对象的所有可能状态新建一个类， 然后将所有状态的对应行为抽取到这些类中。当控制一个对象的状态转换条件过于复杂时，就可以将判断逻辑转移到状态类中，以简化复杂的判断逻辑。</description>
    </item>
  </channel>
</rss>
