/guava/guava/src/com/google/common/collect/TreeRangeSet.java
if ( rangeBelowLB.upperBound.compareTo( rangeToRemove.lowerBound) >= 0) {
if ( rangeBelowUB.upperBound.compareTo ( ubToAdd ) >= 0 ) {
lbToAdd = rangeBelowLB.lowerBound; } } Entry<Cut<C>, Range<C>> entryBelowUB = rangesByLowerBound.floorEntry(ubToAdd); if (entryBelowUB != null) { Range<C> rangeBelowUB = entryBelowUB.getValue(); <extra_id_0> ubToAdd = rangeBelowUB.upperBound; } } rangesByLowerBound.subMap(lbToAdd, ubToAdd).clear(); replaceRangeWithSameLowerBound(Range.create(lbToAdd, ubToAdd)); }