<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yusap</author_name>
  <author_url>https://blog.hatena.ne.jp/yusap/</author_url>
  <blog_title>アウトプット帖</blog_title>
  <blog_url>https://yusap.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>ArrayListとHashMapを用いる場合に次のような宣言をよく見かけます。 List&lt;String&gt; al = new ArrayList&lt;String&gt;(); Map&lt;Integer, String&gt; hm = new HashMap&lt;Integer, String&gt;(); こんな書き方をする目的を考えてみます。 1. ListとMapはインターフェース つまり List&lt;String&gt; l = new List&lt;String&gt;(); Map&lt;Integer, String&gt; m = new Map&lt;Integer, String&gt;(); でインスタンスを作ることは出来ません。エラーに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyusap.hatenadiary.org%2Fentry%2F20130519%2F1368946717&quot; title=&quot;(Java)ArrayListとHashMapの宣言 - アウトプット帖&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>2013-05-19 15:58:37</published>
  <title>(Java)ArrayListとHashMapの宣言</title>
  <type>rich</type>
  <url>https://yusap.hatenadiary.org/entry/20130519/1368946717</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
