{"categories":["Groovy"],"title":"Groovy \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u8907\u7d20\u6570\u30c7\u30fc\u30bf\u3092\u6271\u3046 \u305d\u306e2","type":"rich","provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","blog_title":"bunji square","author_name":"bunji2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbunji2.hatenablog.com%2Fentry%2F2015%2F03%2F31%2F213939\" title=\"Groovy \u30b9\u30af\u30ea\u30d7\u30c8\u3067\u8907\u7d20\u6570\u30c7\u30fc\u30bf\u3092\u6271\u3046 \u305d\u306e2 - bunji square\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","url":"https://bunji2.hatenablog.com/entry/2015/03/31/213939","description":"\u524d\u56de\u306e test2.groovy \u3092\u3082\u3046\u4e00\u5ea6\u898b\u3066\u307f\u307e\u3059\u3002 // test2.groovy // Number \u30af\u30e9\u30b9\u306b\u8907\u7d20\u6570\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7528\u306e\u6f14\u7b97\u3092\u8ffd\u52a0\u3059\u308b\u3002 // \u52a0\u7b97 Number.metaClass.plus = {Complex b -> new Complex (delegate + b.r, b.i) } // \u4e57\u7b97 Number.metaClass.multiply = {Complex b -> new Complex (delegate * b.r, delegate * b.i) } def i = new Complex(0, 1) // \u865a\u6570 i def z1 = 2 +\u2026","version":"1.0","blog_url":"https://bunji2.hatenablog.com/","published":"2015-03-31 21:39:39","author_url":"https://blog.hatena.ne.jp/bunji2/","image_url":null}