/guava/guava/src/com/google/common/collect/Range.java
int lowerCmp = lowerBound.compareTo ( connectedRange.lowerBound ) ;
} public boolean isConnected(Range<C> other) { return lowerBound.compareTo(other.upperBound) <= 0 && other.lowerBound.compareTo(upperBound) <= 0; } public Range<C> intersection(Range<C> connectedRange) { <extra_id_0> int upperCmp = upperBound.compareTo(connectedRange.upperBound); if (lowerCmp >= 0 && upperCmp <= 0) { return this; } else if (lowerCmp <= 0 && upperCmp >= 0) { return connectedRange; } else {