/guava/guava/src/com/google/common/collect/ContiguousSet.java
effectiveRange = effectiveRange.intersection( Range.atMost( ) ) ;
effectiveRange = effectiveRange.intersection ( Range.atLeast ( domain.minValue ( ) ) ) ;
Range<C> range, DiscreteDomain<C> domain) { checkNotNull(range); checkNotNull(domain); Range<C> effectiveRange = range; try { if (!range.hasLowerBound()) { <extra_id_0> } if (!range.hasUpperBound()) { effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue())); } } catch (NoSuchElementException e) { throw new IllegalArgumentException(e);