<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimutansk</author_name>
  <author_url>https://blog.hatena.ne.jp/kimutansk/</author_url>
  <blog_title>夢とガラクタの集積場</blog_title>
  <blog_url>https://kimutansk.hatenablog.com/</blog_url>
  <categories>
    <anon>Scala</anon>
  </categories>
  <description>てなわけで（？） ネタ編第２回です。適切なネタがパッと他に思い浮かばなかったので今回も魔法少女まどか☆マギカ継続で。今度は何をネタにするかなぁ。。。。オブジェクト指向言語に限らず、クラスやメソッドで、『いくつかの引数は省略しても動くようにしたい』ということはよくあると思います。その時、Javaだと下記のように同名メソッドをオーバーロードして同名メソッドをいくつも記述することになります。■PuellaMagi.scala（変更前）package jp.gr.kmtn.scalatutorial.defaultvalue/** * 「魔法少女」クラス * * @author Fukushi- */…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkimutansk.hatenablog.com%2Fentry%2F20110609%2F1307581560&quot; title=&quot;駄目ネタで試す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>https://blogger.googleusercontent.com/tracker/5441896652846089970-7226885463535222131?l=dreamscrapround.blogspot.com</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-09 10:06:00</published>
  <title>駄目ネタで試すScala 引数 〜魔法少女まどか☆マギカ編〜</title>
  <type>rich</type>
  <url>https://kimutansk.hatenablog.com/entry/20110609/1307581560</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
