<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>デザインパターン</anon>
  </categories>
  <description>Flyweight パターン * 生成済みのオブジェクトをできるだけ再利用(共有)し、 無駄なオブジェクト生成処理(メモリ使用)を防止するパターン 登場人物 Flyweight * 多くのオブジェクトを生成され得る可能性のあるクラス FlyweightFactory ★このクラスがキモ★ * 「Flyweight」を生成管理する工場 * 「Flyweight」のオブジェクトが必要な場合は、この工場経由で取得 * 生成した「Flyweight」オブジェクトをMapなどで貯めて（プール）おく * 共有可能なオブジェクトが要求された場合は、プールから返却 Client * 利用者 サンプル Logg…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F33043721&quot; title=&quot;【デザインパターン】【GoF】【Java】Flyweight パターン - プログラム の超個人的なメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-15 00:01:00</published>
  <title>【デザインパターン】【GoF】【Java】Flyweight パターン</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/33043721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
