LongRangeSet (LongRangeSet divisor) { if(divisor.isEmpty()) return empty(); LongRangeSet result = empty(); for (int i = 0; i < myRanges.length; i += 2) { result = result.join(range(myRanges[i], myRanges[i + 1]).mod(divisor)); } return result; }