Java Utililty Methods Set Super set

List of utility methods to do Set Super set

Description

The list of methods to do Set Super set are organized into topic(s).

Method

booleanisSuperset(Set setA, Set setB)
This method returns true if set A is a superset of set B i.e.
return setA.containsAll(setB);
booleanisSupersetOf(BitSet set0, BitSet set1)
Returns whether a bit set contains every bit of another bit set.
if (set1.isEmpty()) {
    return true;
if (!set0.intersects(set1)) {
    return false;
for (Integer integer : toIter(set1)) {
    if (!set0.get(integer)) {
...