Home
last modified time | relevance | path

Searched refs:connectedRange (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DRange.java559 public Range<C> intersection(Range<C> connectedRange) { in intersection() argument
560 int lowerCmp = lowerBound.compareTo(connectedRange.lowerBound); in intersection()
561 int upperCmp = upperBound.compareTo(connectedRange.upperBound); in intersection()
565 return connectedRange; in intersection()
567 Cut<C> newLower = (lowerCmp >= 0) ? lowerBound : connectedRange.lowerBound; in intersection()
568 Cut<C> newUpper = (upperCmp <= 0) ? upperBound : connectedRange.upperBound; in intersection()