title: Instance of an empty ("nil") UUID in Java
body: <p>In Java, how does one generate an instance of an empty/&quot;nil&quot; <a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html" rel="nofollow noreferrer">java.util.UUID</a> object where all 128 bits are zero?</p>
  <blockquote>
  <p>00000000-0000-0000-0000-000000000000</p>
  </blockquote>
  <p>Nil UUIDs are described in:</p>
  <ul>
  <li><a href="https://en.wikipedia.org/wiki/Universally_unique_identifier#Variants_and_versions" rel="nofollow noreferrer">Wikipedia</a></li>
  <li><a href="https://www.rfc-editor.org/rfc/rfc4122#section-4.1.7" rel="nofollow noreferrer">Section 4.1.7 of RFC 4122</a>.</li>
  </ul>