code: public IVersionRange getRange(Collection<String> versions) throws InvalidRangeException {
      if (versions == null) {
        return null;
      }
      return getRange(versions.toArray(new String[versions.size()]));
    }
docs: Join this set of ranges together. This could result in a set, or in a
  logical range.