{"provider_url":"https://hatena.blog","categories":["scala"],"image_url":null,"author_url":"https://blog.hatena.ne.jp/plasticscafe/","published":"2010-08-24 12:59:52","provider_name":"Hatena Blog","blog_url":"https://plasticscafe.hatenadiary.org/","url":"https://plasticscafe.hatenadiary.org/entry/20100824/1282622392","title":"LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 \u305d\u306e53","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fplasticscafe.hatenadiary.org%2Fentry%2F20100824%2F1282622392\" title=\"LL\u8133\u304cscala\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3088 \u305d\u306e53 - 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>","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\u306e52 Scala\u30b3\u30c3\u30d7\u672c\u306e16\u7ae0\u306e\u7d9a\u304d\u3092\u3084\u3063\u3066\u30a4\u30ad\u30de\u30b9\u3002\u4eca\u56de\u306f\u30ea\u30b9\u30c8\u306e\uff11\u968e\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066\u306e\u5f8c\u534a\u3092\u3084\u3063\u3066\u3044\u304d\u307e\u3059\u3088\u30fc \u8981\u7d20\u306e\u9078\u629e\uff1aapply\u3068indices \u30ea\u30b9\u30c8\u306e\u5404\u8981\u7d20\u306b\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u306b\u306fapply\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3044\u307e\u3059\u306d\u30fc // \u6dfb\u5b57\uff13\u306e\u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059 scala> List(1,2,3,4,5).apply(3) res4: Int = 4 // \u6dfb\u5b574\u306e\u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059 scala> List(1,2,3,4,5).apply(4) res5: Int = 5 // List\u306b\u8981\u7d20\u2026","type":"rich","author_name":"plasticscafe","width":"100%","blog_title":"Reinvention of the Wheel","version":"1.0"}