{"description":"& \u3084 | \u3068\u3044\u3046\u8a18\u53f7\u3067\u306f\u306a\u304f and\u3001or \u3092\u4f7f\u3044\u307e\u3059\u3002 \u307e\u305f\u3001|= \u3084 &= \u3068\u3044\u3063\u305f\u8907\u5408\u4ee3\u5165\u6f14\u7b97\u5b50\u5f62\u5f0f\u306e\u8a18\u8f09\u65b9\u6cd5\u306f\u3042\u308a\u307e\u305b\u3093\u3002 Java/C\u7cfb\u8a00\u8a9e\u3067\u306e\u66f8\u304d\u65b9 Kotlin \u3067\u306e\u66f8\u304d\u65b9 x &= y x = (x and y) x |= y x = (x or y) x ^= y x = (x xor y) ~x x.inv() \u203b and \u3084 or \u3082 x.and(y) \u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 \u53c2\u8003 What is Kotlin equivalent for bitwise or with assignment '|='? - Stack Overflow KT-1440 Ad\u2026","url":"https://increment.hatenablog.com/entry/2015/11/04/215917","version":"1.0","published":"2015-11-04 21:59:17","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fincrement.hatenablog.com%2Fentry%2F2015%2F11%2F04%2F215917\" title=\"Kotlin : \u30d3\u30c3\u30c8\u6f14\u7b97\u30e1\u30e2 - i++\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Kotlin : \u30d3\u30c3\u30c8\u6f14\u7b97\u30e1\u30e2","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tkyjhr/","author_name":"tkyjhr","blog_url":"https://increment.hatenablog.com/","width":"100%","provider_url":"https://hatena.blog","blog_title":"i++","image_url":null,"categories":["Kotlin"],"height":"190"}