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