{"image_url":null,"provider_url":"https://hatena.blog","blog_title":"$shibayu36->blog;","type":"rich","url":"https://blog.shibayu36.org/entry/2015/08/25/093719","published":"2015-08-25 09:37:19","description":"Scala\u3067\u306f\u30af\u30e9\u30b9\u3092\u30a8\u30a4\u30ea\u30a2\u30b9\u3057\u305f\u3044\u3068\u304d\u306ftype\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u5229\u7528\u3059\u308b\u3002 class Hoge() { def print(): Unit = { println(\"hoge\") } } type Fuga = Hoge val fuga = new Fuga() fuga.print() \u3057\u304b\u3057\u3053\u306e\u3084\u308a\u65b9\u3060\u3051\u3067\u306fcase class\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u306f\u51fa\u6765\u306a\u3044\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u51fa\u529b\u3055\u308c\u308b\u3002 case class Hoge() { def print(): Unit = { println(\"hoge\") } } type Fuga = Hoge val fuga = Fug\u2026","blog_url":"https://blog.shibayu36.org/","author_url":"https://blog.hatena.ne.jp/shiba_yu36/","provider_name":"Hatena Blog","author_name":"shiba_yu36","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F2015%2F08%2F25%2F093719\" title=\"scala\u3067case class\u3092\u30a8\u30a4\u30ea\u30a2\u30b9\u3059\u308b - $shibayu36-&gt;blog;\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["tech"],"title":"scala\u3067case class\u3092\u30a8\u30a4\u30ea\u30a2\u30b9\u3059\u308b","height":"190"}