<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>namaza</author_name>
  <author_url>https://blog.hatena.ne.jp/namaza/</author_url>
  <blog_title>雑記</blog_title>
  <blog_url>https://ytrewq.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>Javaでは全てのクラスがObject型のサブクラスだが、ScalaではAnyが最上位のクラスで、次にIntなどの値型はAnyValクラス、参照型はAnyRefクラスのサブクラスになる。図にすると、 引用元： Learning Scala part eight – Scala’s type hierarchy and object equality といった流れ。 型パラメータの前につくプラス＋とかマイナスーは、変位指定という。プラスは共変といい、javaでいうextends。マイナスは反変といい、javaでいうsuper。 共変は引数に指定できず、反変は返り値に指定できない。 理由は下記リン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fytrewq.hatenablog.com%2Fentry%2F2017%2F09%2F18%2F155316&quot; title=&quot;N Scala応用 型パラと変位 - 雑記&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>http://joelabrahamsson.com/PageFiles/148/1310_1644.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-18 15:53:16</published>
  <title>N Scala応用 型パラと変位</title>
  <type>rich</type>
  <url>https://ytrewq.hatenablog.com/entry/2017/09/18/155316</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
