<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dai4649</author_name>
  <author_url>https://blog.hatena.ne.jp/dai4649/</author_url>
  <blog_title>プログラマってこんなかんじ？？</blog_title>
  <blog_url>https://daichan4649.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>Mapの初期化をするとき、いままでこんなかんじでstaticブロックでやってたり。 private static Map&lt;String, String&gt; map = new HashMap&lt;String, String&gt;(); static { map.put(&quot;key&quot;, &quot;val&quot;); } んで、今日こんな方法もあるよー、と id:yone098 に教えていただいた。 private static Map&lt;String, String&gt; map = new HashMap&lt;String, String&gt;() { { put(&quot;key&quot;, &quot;val&quot;); } }; 無名クラス初期化子を使うこ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdaichan4649.hatenablog.jp%2Fentry%2F20090611%2F1244650579&quot; title=&quot;Mapの初期化 - プログラマってこんなかんじ？？&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-06-11 01:16:19</published>
  <title>Mapの初期化</title>
  <type>rich</type>
  <url>https://daichan4649.hatenablog.jp/entry/20090611/1244650579</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
