Check if all bits in BitSet are set to true
<p>I'm using a <code>BitSet</code> in my application and would like to check with a method if all used bits in the <code>BitSet</code> are set to <code>true</code>. Now, I know of the method <code>isEmpty()</code> that checks if all bits are set to <code>false</code>, however I can't seem to find the positive case. I'm aware I could do something like <code>someBitSet.cardinality() == someBitSet.size()</code>, but this seems clumsy. Am I missing something or is there an explicit reason why such a method is not implemented but the opposite case is?</p>