<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenmaz</author_name>
  <author_url>https://blog.hatena.ne.jp/kenmaz/</author_url>
  <blog_title>kenmazの日記</blog_title>
  <blog_url>https://kenmaz.hatenadiary.jp/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>シングルトンなクラスを定義するために以下のように記述されたコードをよく目にする。 class Singleton { private volatile static Singleton instance; public static Singleton getInstance() { if (instance == null) { synchronized(Singleton.class) { if (instance == null) { instance = new Singleton(); //(1) } } } return instance; } これは、１度しかinstanceを生…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenmaz.hatenadiary.jp%2Fentry%2F20091102%2F1257175621&quot; title=&quot; シングルトンと遅延初期化 - kenmazの日記&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>2009-11-02 00:27:01</published>
  <title> シングルトンと遅延初期化</title>
  <type>rich</type>
  <url>https://kenmaz.hatenadiary.jp/entry/20091102/1257175621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
