<?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/%E5%8E%9F%E5%9E%8B%E6%A8%A1%E5%BC%8F/</link>
    <description>Recent content in 原型模式 on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 15 Jul 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/tags/%E5%8E%9F%E5%9E%8B%E6%A8%A1%E5%BC%8F/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Java设计模式(7)-原型模式</title>
      <link>https://blog.hankmo.com/posts/architecture/java-prototype-pattern/</link>
      <pubDate>Wed, 15 Jul 2020 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/architecture/java-prototype-pattern/</guid>
      <description>某些情况下，我们需要重复的创建多个对象，但是这些对象仅仅只有某几个属性不一致，大部分的信息都是相同的，如果使用传统的构造函数来创建对象，我们需要不断的实例化对象，并且反复调用属性的set方法来设置值，而这些值大多都是相同的。有没有一种模式，能够快速而高效的创建这些差别不大的对象呢？这就需要使用到原型模式。</description>
    </item>
  </channel>
</rss>
