code: static SortedRangeSet of(Range first, Range... rest)
      {
          List<Range> rangeList = new ArrayList<>(rest.length + 1);
          rangeList.add(first);
          for (Range range : rest) {
              rangeList.add(range);
          }
          return copyOf(first.getType(), rangeList);
      }
docs: Provided Ranges are unioned together to form the SortedRangeSet