List of utility methods to do BitSet Contain
boolean | contains(BitSet a, BitSet b) does set a contain set b? return intersection(a, b).cardinality() == b.cardinality();
|
boolean | contains(BitSet arg, BitSet filter) contains for (int i = filter.nextSetBit(0); i >= 0; i = filter.nextSetBit(i + 1)) { if (!arg.get(i)) { return false; return true; |
boolean | containsWhitespace(CharSequence cs) contains Whitespace for (int i = 0; i < cs.length(); i++) { if (isUnicodeWhitespace(cs.charAt(i))) { return true; return false; |