<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>irof</author_name>
  <author_url>https://blog.hatena.ne.jp/irof/</author_url>
  <blog_title>日々常々</blog_title>
  <blog_url>https://irof.hateblo.jp/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>数値系は2つまとめて。 二進数表記 Binary Literals 16進数の 0x の様に、2進数を 0b で書けるようになります。地味に便利かもしれませんね。勿論二進数なので 0 と 1 以外の数を入れるとコンパイルエラーになります。 // いままで byte j6byte = (byte)21; // こう書ける byte j7byte = 0b10101; // これはコンパイルエラー byte error = 0b10201; これで馴染みの薄い &amp; や | が脚光を浴びますね！ System.out.println(0b01010 &amp; 0b10101); // =&gt; 0 Syste…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Firof.hateblo.jp%2Fentry%2F20110301%2Fp2&quot; title=&quot; Java7 体当たり／Binary Literals, Underscores in Number Literals - 日々常々&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-03-01 00:00:00</published>
  <title> Java7 体当たり／Binary Literals, Underscores in Number Literals</title>
  <type>rich</type>
  <url>https://irof.hateblo.jp/entry/20110301/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
