<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Nagise</author_name>
  <author_url>https://blog.hatena.ne.jp/Nagise/</author_url>
  <blog_title>プログラマーの脳みそ</blog_title>
  <blog_url>https://nagise.hatenablog.jp/</blog_url>
  <categories>
    <anon>Java</anon>
    <anon>Generics</anon>
  </categories>
  <description>Java Generics Hell アドベントカレンダー 14日目。 前回(13日目) 共変ワイルドカード 読者の推奨スキルとしてはOCJP Silverぐらいを想定している。 反変ワイルドカード さて、前回は共変ワイルドカードについてだった。今回は反変ワイルドカードについてである。反変ワイルドカードは? superを用いて以下のように記述する。 List&lt;A&gt; listA = new ArrayList&lt;A&gt;(); List&lt;? super B&gt; listSuB = listA; // 代入可能 このlistSuBは次のような性質を持っている。 listSuB は B型を格納することが出来…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnagise.hatenablog.jp%2Fentry%2F20171214%2F1513260215&quot; title=&quot; Java Generics Hell - 反変ワイルドカード - プログラマーの脳みそ&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>2017-12-14 23:03:35</published>
  <title> Java Generics Hell - 反変ワイルドカード</title>
  <type>rich</type>
  <url>https://nagise.hatenablog.jp/entry/20171214/1513260215</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
