{"published":"2010-07-20 12:59:15","provider_name":"Hatena Blog","url":"https://plasticscafe.hatenadiary.org/entry/20100720/1279598355","image_url":null,"author_url":"https://blog.hatena.ne.jp/plasticscafe/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplasticscafe.hatenadiary.org%2Fentry%2F20100720%2F1279598355\" title=\"LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 \u305d\u306e32 - Reinvention of the Wheel\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"Reinvention of the Wheel","title":"LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 \u305d\u306e32","author_name":"plasticscafe","blog_url":"https://plasticscafe.hatenadiary.org/","categories":["scala"],"provider_url":"https://hatena.blog","type":"rich","version":"1.0","height":"190","description":"[\u307e\u3068\u3081] LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 \u305d\u306e31 Scala\u30b3\u30c3\u30d7\u672c\u306e10\u7ae0\u3092\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3088\u30fc\u300110\u7ae0\u3067\u306f2D\u30ec\u30a4\u30a2\u30a6\u30c8\u30e9\u30a4\u30d6\u30e9\u30ea\u30fc\u306e\u5b9f\u88c5\u306e\u4e2d\u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u7684\u306a\u30a2\u30ec\u3084\u30b3\u30ec\u3092\u5b66\u3093\u3067\u3044\u304f\u611f\u3058\u3067\u3059\u3088\u30fc\u3068\u308a\u3042\u3048\u305a\u524d\u56de\u307e\u3067\u306e\u6210\u679c\u306f\u3053\u3061\u3089\u3067\u3059\u30fc // \u62bd\u8c61\u30af\u30e9\u30b9Element\u3092\u5b9a\u7fa9 abstract class Element { def contents:Array[String] def height:Int = contents.length def width:Int = if(height == 0) 0 else contents(0).len\u2026"}