/guava/guava/src/com/google/common/collect/ImmutableRangeSet.java
if ( ceilingIndex < ranges.size ( ) && ranges.get ( ceilingIndex ) .isConnected ( otherRange ) && !ranges.get ( ceilingIndex ) .intersection ( otherRange ) .isEmpty ( ) ) { return true; }
ranges, Range.<C>lowerBoundFn(), otherRange.lowerBound, Ordering.natural(), ANY_PRESENT, NEXT_HIGHER); <extra_id_0> return ceilingIndex > 0 && ranges.get(ceilingIndex - 1).isConnected(otherRange) && !ranges.get(ceilingIndex - 1).intersection(otherRange).isEmpty(); } @Override public boolean encloses(Range<C> otherRange) {