{"categories":["Scala"],"published":"2008-05-25 17:59:39","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","url":"https://unageanu.hatenablog.com/entry/20080525/1211705979","provider_name":"Hatena Blog","image_url":null,"width":"100%","title":" \u6f14\u7b97\u5b50\u3068\u30e1\u30bd\u30c3\u30c9","height":"190","description":"\u6628\u65e5\u66f8\u3044\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u300c \u300d\u3067\u5b9f\u884c\u3067\u304d\u308b\u4ef6\u306b\u3064\u3044\u3066\u3001\u307f\u305a\u3057\u307e\u3055\u3093\u3088\u308a\u30b3\u30e1\u30f3\u30c8\u3092\u9802\u3044\u305f(\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059!)\u306e\u3067\u3001\u4ed5\u69d8\u66f8\u3092\u78ba\u8a8d\u3002 \u3069\u3046\u3082\u3001\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3068\u6f14\u7b97\u5b50\u304c\u307e\u3063\u305f\u304f\u5225\u7269\u3068\u3044\u3046\u8a8d\u8b58\u304c\u305d\u3082\u305d\u3082\u9593\u9055\u3063\u3066\u3044\u305f\u3088\u3046\u3060\u3002Scala\u3067\u306f\u30af\u30e9\u30b9\u306e\u6f14\u7b97\u5b50\u3092\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u5b9a\u7fa9\u3059\u308b\u306e\u3068\u540c\u3058\u30ce\u30ea\u3067\u3001\u30e1\u30bd\u30c3\u30c9\u3082\u6f14\u7b97\u5b50\u306e\u3088\u3046\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u7406\u89e3\u3057\u3066\u7d0d\u5f97\u3002 // \u300c+\u300d\u6f14\u7b97\u5b50\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9\u3057\u305f\u30af\u30e9\u30b9\u3002 class Foo(i:Int) { def +(j:Int):Int = i+j def plus(j:Int):Int = i+j } // \u300c+\u300d\u30e1\u30bd\u30c3\u30c9\u3092\u6f14\u7b97\u5b50\u3068\u3057\u3066\u4f7f\u3048\u308b\u306e\u3068\u2026","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/unageanu/","author_name":"unageanu","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20080525%2F1211705979\" title=\" \u6f14\u7b97\u5b50\u3068\u30e1\u30bd\u30c3\u30c9 - \u3046\u306a\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_url":"https://unageanu.hatenablog.com/"}