title: Java Hex string to BitSet
body: <p>What is the best and simplest way using Java of converting a string such as <code>0xBD3E9110</code> into a <code>BitSet</code> such as <code>1011 1101 0011 1110 1001 0001 0001 0000</code>? That is, a method of the form:</p>
  
  <pre><code>public BitSet hexStringToBitSet(String hexString) {
     //...
  }
  </code></pre>
  
  <p>I'd like to obtain a <code>BitSet</code> so that I can use <code>get(i)</code> to obtain the <code>true</code>/<code>false</code> value of each of the returned 32 bits.</p>