{"published":"2009-09-10 00:26:39","width":"100%","image_url":null,"blog_title":"A Memorandum","title":"Scala\u306e\u30a2\u30af\u30bb\u30c3\u30b5\u3068\u30df\u30e5\u30fc\u30c6\u30fc\u30bf\u306b\u3088\u308b\u4eee\u60f3public\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u4f5c\u6210","type":"rich","author_url":"https://blog.hatena.ne.jp/Naotsugu/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20090910%2F1252596399\" title=\"Scala\u306e\u30a2\u30af\u30bb\u30c3\u30b5\u3068\u30df\u30e5\u30fc\u30c6\u30fc\u30bf\u306b\u3088\u308b\u4eee\u60f3public\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u4f5c\u6210 - A Memorandum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog1.mammb.com/entry/20090910/1252596399","categories":["Scala"],"description":"\u4ee5\u4e0b\u306e\u8868\u8a18\u306b\u3066\u30df\u30e5\u30fc\u30c6\u30fc\u30bf\u304c\u5b9a\u7fa9\u3067\u304d\u308b\u3002 def _=() \u5b9f\u88c5\u4f8b package AbsoluteNumberDemo class AbsoluteNumber(num:Int) { private var _value = Math.abs(num) def value = _value // \"getter\" method def value_=(num:Int) = _value = Math.abs(num) // \"setter\" method } object Main extends Application { var absolute = new AbsoluteNumber\u2026","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"Naotsugu","blog_url":"https://blog1.mammb.com/","version":"1.0","height":"190"}