Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java110 GeneralRange<Integer> range = GeneralRange.upTo(ORDERING, 3, lBoundType);
178 assertEquals(GeneralRange.upTo(Ordering.natural(), 3, endpointType),
179 GeneralRange.from(Range.upTo(3, endpointType)));
198 GeneralRange.upTo(ORDERING, 3, CLOSED).reverse());
199 assertEquals(GeneralRange.upTo(ORDERING.reverse(), 3, OPEN),
DImmutableRangeMapTest.java45 builder.add(Range.upTo(i, type)); in Range.upTo()
DRangeTest.java623 Range.upTo(7, CLOSED)) in testEquivalentFactories()
626 Range.upTo(7, OPEN)) in testEquivalentFactories()
DTreeRangeMapTest.java169 builder.add(Range.upTo(i, type)); in Range.upTo()
DImmutableRangeSetTest.java463 rangesBuilder.add(Range.upTo(i, boundType)); in testSubRangeSet()
DTreeRangeSetTest.java48 queryBuilder.add(Range.upTo(i, boundType)); in Range.upTo()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DGeneralRangeTest.java108 GeneralRange<Integer> range = GeneralRange.upTo(ORDERING, 3, lBoundType);
176 assertEquals(GeneralRange.upTo(Ordering.natural(), 3, endpointType),
177 GeneralRange.from(Range.upTo(3, endpointType)));
196 GeneralRange.upTo(ORDERING, 3, CLOSED).reverse());
197 assertEquals(GeneralRange.upTo(ORDERING.reverse(), 3, OPEN),
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DRegularContiguousSet.java49 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))); in headSetImpl()
DTreeMultiset.java482 return new TreeMultiset<E>(rootReference, range.intersect(GeneralRange.upTo(
/external/guava/guava/src/com/google/common/collect/
DRegularContiguousSet.java51 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive))); in headSetImpl()
DTreeRangeSet.java280 return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive))); in headMap()
441 return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive)));
663 return subMap(Range.upTo(toKey, BoundType.forBoolean(inclusive)));
DGeneralRange.java76 static <T> GeneralRange<T> upTo(Comparator<? super T> comparator, @Nullable T endpoint, in upTo() method in GeneralRange
DRange.java255 public static <C extends Comparable<?>> Range<C> upTo( in upTo() method in Range
DImmutableRangeSet.java444 return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
DTreeMultiset.java486 return new TreeMultiset<E>(rootReference, range.intersect(GeneralRange.upTo(