Lines Matching defs:one
63 * @param one a sorted set of non-intersecting ranges in ascending order
68 Range<T>[] intersectSortedDistinctRanges(Range<T>[] one, Range<T>[] another) {
72 while (ix < one.length &&
73 one[ix].getUpper().compareTo(range.getLower()) < 0) {
76 while (ix < one.length &&
77 one[ix].getUpper().compareTo(range.getUpper()) < 0) {
78 result.add(range.intersect(one[ix]));
81 if (ix == one.length) {
84 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) {
85 result.add(range.intersect(one[ix]));
95 * @return if the value is in one of the ranges, it returns the index of that range. Otherwise,