Searched refs:connectedRange (Results 1 – 1 of 1) sorted by relevance
559 public Range<C> intersection(Range<C> connectedRange) { in intersection() argument560 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()