/guava/guava/src/com/google/common/collect/ImmutableRangeMap.java
if ( checkNotNull ( range ) .isEmpty ( ) ) { return ImmutableRangeMap.of ( ) ; } else if ( ranges.isEmpty ( ) || range.encloses ( span ( ) ) ) { return this; }
RegularImmutableSortedSet<Range<K>> rangeSet = new RegularImmutableSortedSet<>(ranges.reverse(), Range.<K>rangeLexOrdering().reverse()); return new ImmutableSortedMap<>(rangeSet, values.reverse()); } @Override public ImmutableRangeMap<K, V> subRangeMap(final Range<K> range) { <extra_id_0> int lowerIndex = SortedLists.binarySearch( ranges, Range.<K>upperBoundFn(), range.lowerBound, KeyPresentBehavior.FIRST_AFTER,