Searched refs:upTo (Results 1 – 9 of 9) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | BstRangeOpsTest.java | 78 countAggregate, GeneralRange.upTo(Ordering.natural(), c, type), ROOT); in testCountInRangeUpperBound() 175 GeneralRange<Character> range1 = GeneralRange.upTo(Ordering.natural(), 'f', CLOSED); in testClearRangeUpperBound() 178 GeneralRange<Character> range2 = GeneralRange.upTo(Ordering.natural(), 'f', OPEN); in testClearRangeUpperBound() 181 GeneralRange<Character> range3 = GeneralRange.upTo(Ordering.natural(), 'a', CLOSED); in testClearRangeUpperBound() 184 GeneralRange<Character> range4 = GeneralRange.upTo(Ordering.natural(), 'a', OPEN); in testClearRangeUpperBound() 187 GeneralRange<Character> range5 = GeneralRange.upTo(Ordering.natural(), 'c', OPEN); in testClearRangeUpperBound() 190 GeneralRange<Character> range6 = GeneralRange.upTo(Ordering.natural(), 'c', CLOSED); in testClearRangeUpperBound() 303 GeneralRange<Character> range1 = GeneralRange.upTo(Ordering.natural(), 'd', OPEN); in testLeftmostPathUpTo() 307 GeneralRange<Character> range2 = GeneralRange.upTo(Ordering.natural(), 'd', CLOSED); in testLeftmostPathUpTo() 311 GeneralRange<Character> range3 = GeneralRange.upTo(Ordering.natural(), 'a', CLOSED); in testLeftmostPathUpTo() [all …]
|
D | GeneralRangeTest.java | 111 GeneralRange<Integer> range = GeneralRange.upTo(ORDERING, 3, lBoundType); 179 assertEquals(GeneralRange.upTo(Ordering.natural(), 3, endpointType), 180 GeneralRange.from(Ranges.upTo(3, endpointType))); 199 GeneralRange.upTo(ORDERING, 3, CLOSED).reverse()); 200 assertEquals(GeneralRange.upTo(ORDERING.reverse(), 3, OPEN),
|
D | RangesTest.java | 78 Ranges.upTo(7, CLOSED)) in testEquivalentFactories() 81 Ranges.upTo(7, OPEN)) in testEquivalentFactories()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | RegularContiguousSet.java | 44 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
|
D | TreeMultiset.java | 346 range.intersect(GeneralRange.upTo(comparator, upperBound, boundType)), rootReference); in headMultiset()
|
/external/guava/guava/src/com/google/common/collect/ |
D | Ranges.java | 167 public static <C extends Comparable<?>> Range<C> upTo( in upTo() method in Ranges
|
D | RegularContiguousSet.java | 46 return range.intersection(Ranges.upTo(toElement, BoundType.forBoolean(inclusive))) in headSetImpl()
|
D | GeneralRange.java | 76 static <T> GeneralRange<T> upTo(Comparator<? super T> comparator, @Nullable T endpoint, in upTo() method in GeneralRange
|
D | TreeMultiset.java | 350 range.intersect(GeneralRange.upTo(comparator, upperBound, boundType)), rootReference); in headMultiset()
|