{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Firof.hateblo.jp%2Fentry%2F20110301%2Fp2\" title=\" Java7 \u4f53\u5f53\u305f\u308a\uff0fBinary Literals, Underscores in Number Literals - \u65e5\u3005\u5e38\u3005\" 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://irof.hateblo.jp/entry/20110301/p2","type":"rich","width":"100%","provider_url":"https://hatena.blog","published":"2011-03-01 00:00:00","height":"190","title":" Java7 \u4f53\u5f53\u305f\u308a\uff0fBinary Literals, Underscores in Number Literals","description":"\u6570\u5024\u7cfb\u306f2\u3064\u307e\u3068\u3081\u3066\u3002 \u4e8c\u9032\u6570\u8868\u8a18 Binary Literals 16\u9032\u6570\u306e 0x \u306e\u69d8\u306b\u30012\u9032\u6570\u3092 0b \u3067\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u5730\u5473\u306b\u4fbf\u5229\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002\u52ff\u8ad6\u4e8c\u9032\u6570\u306a\u306e\u3067 0 \u3068 1 \u4ee5\u5916\u306e\u6570\u3092\u5165\u308c\u308b\u3068\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002 // \u3044\u307e\u307e\u3067 byte j6byte = (byte)21; // \u3053\u3046\u66f8\u3051\u308b byte j7byte = 0b10101; // \u3053\u308c\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc byte error = 0b10201; \u3053\u308c\u3067\u99b4\u67d3\u307f\u306e\u8584\u3044 & \u3084 | \u304c\u811a\u5149\u3092\u6d74\u3073\u307e\u3059\u306d\uff01 System.out.println(0b01010 & 0b10101); // => 0 Syste\u2026","image_url":null,"author_name":"irof","author_url":"https://blog.hatena.ne.jp/irof/","categories":["Java"],"provider_name":"Hatena Blog","blog_title":"\u65e5\u3005\u5e38\u3005","version":"1.0","blog_url":"https://irof.hateblo.jp/"}