This method of the IntRanges Class compares this set of ranges to another.
public int compareSet(Object other);
Returns SetComparison.DISJOINT if other is not an instance of IntRanges, or else a SetComparison.compareSet result:
SetComparison.OVERLAP | The sets of integers are not equal but have a common set of integers. |
SetComparison.DISJOINT | The sets of integers have no integers in common. |
SetComparison.SUBSET | other includes all the integers in this set, plus some integers that are not in this set. |
SetComparison.EQUAL | The sets of integers are identical. |
SetComparison.SUPERSET | This set of integers includes all the integers in other, plus some integers that are not in other. |
SetComparison.EMPTY | Both sets of integers are empty. |
SetComparison.EMPTY_SUBSET | This set is empty and other is not empty. |
SetComparison.EMPTY_SUPERSET | This set is not empty and other is empty. |
other | The set of ranges to compare with. |