{"blog_title":"\u30a4\u30c8\u30a6 \u30a2\u30b9\u30ab blog","url":"https://itoasuka.hatenadiary.org/entry/20091028/1256690383","image_url":null,"title":" \u4f3c\u3066\u975e\u306a\u308b\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9","description":"\u6628\u65e5\u306e\u8a18\u4e8b\u306f\u4f55\u304b\u3092\u898b\u9593\u9055\u3048\u305f\u3089\u3057\u304f\u3001\u307e\u3063\u305f\u304f\u6b63\u78ba\u6027\u306b\u304b\u3051\u308b\u3082\u306e\u3067\u3057\u305f\u3002\u304a\u8a6b\u3073\u3044\u305f\u3057\u307e\u3059\u3002 \u3055\u3066 \u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30af\u30e9\u30b9\u304c\u3042\u3063\u305f\u3068\u3057\u307e\u3059\u3002 class Hoge { def foo(arg: String) = java.lang.Boolean.parseBoolean(arg) def bar = java.lang.Boolean.parseBoolean(_) } foo \u3068 bar \u306f\u540c\u3058\u3088\u3046\u306b\u4f7f\u3048\u307e\u3059\u3002 val hoge = new Hoge() val foo = hoge.foo(\"true\") val bar = hoge.bar(\"false\") Scala \u30d3\u30ae\u30ca\u30fc\u306e\u79c1\u306f\u3053\u308c\u306b\u2026","author_name":"itoasuka","width":"100%","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitoasuka.hatenadiary.org%2Fentry%2F20091028%2F1256690383\" title=\" \u4f3c\u3066\u975e\u306a\u308b\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9 - \u30a4\u30c8\u30a6 \u30a2\u30b9\u30ab blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2009-10-28 09:39:43","height":"190","provider_name":"Hatena Blog","blog_url":"https://itoasuka.hatenadiary.org/","version":"1.0","categories":["Scala"],"type":"rich","author_url":"https://blog.hatena.ne.jp/itoasuka/"}