<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiboma</author_name>
  <author_url>https://blog.hatena.ne.jp/hiboma/</author_url>
  <blog_title>hibomaの日記</blog_title>
  <blog_url>https://hiboma.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Perl</anon>
  </categories>
  <description>デザインパターンをがんばって書いてみる。JavaとPerlを行き来しつつ。Singleton :: インスタンスを１個だけに限定するデザインパターン。「そのクラスから生成されるインスタンスは１個だけしかない」という確実な保証をすることが大事だとか。結城さんの本を参考に（というか丸写し・・・）Javaで書くと public class Singleton { private static Singleton singleton =new Singleton(); private Singleton(){ System.out.println(&quot;インスタンスを生成しました&quot;); } public …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiboma.hatenadiary.jp%2Fentry%2F20060510%2F1147190899&quot; title=&quot;デザインパターン 初めの一歩：Singleton - hibomaの日記&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>2006-05-10 01:08:19</published>
  <title>デザインパターン 初めの一歩：Singleton</title>
  <type>rich</type>
  <url>https://hiboma.hatenadiary.jp/entry/20060510/1147190899</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
