Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/collect/
DTreeRangeMapTest.java121 return rangeMap.subRangeMap(Range.atMost(22)).asMapOfRanges(); in suite()
345 RangeMap<Integer, Integer> subRangeMap = rangeMap.subRangeMap(subRange); in testSubRangeMapExhaustive() local
346 assertEquals(expected, subRangeMap); in testSubRangeMapExhaustive()
347 assertEquals(expected.asMapOfRanges(), subRangeMap.asMapOfRanges()); in testSubRangeMapExhaustive()
350 assertEquals(expected.span(), subRangeMap.span()); in testSubRangeMapExhaustive()
354 assertEquals(expected.get(i), subRangeMap.get(i)); in testSubRangeMapExhaustive()
360 subRangeMap.asMapOfRanges().get(query)); in testSubRangeMapExhaustive()
372 RangeMap<Integer, Integer> sub1 = rangeMap.subRangeMap(Range.closed(5, 11)); in testSubSubRangeMap()
375 RangeMap<Integer, Integer> sub2 = sub1.subRangeMap(Range.open(6, 15)); in testSubSubRangeMap()
385 RangeMap<Integer, Integer> sub = rangeMap.subRangeMap(Range.closed(5, 11)); in testSubRangeMapPut()
[all …]
DImmutableRangeMapTest.java222 assertEquals(expected, rangeMap.subRangeMap(subRange)); in testSubRangeMap()
/external/guava/guava/src/com/google/common/collect/
DImmutableRangeMap.java229 public ImmutableRangeMap<K, V> subRangeMap(final Range<K> range) { in subRangeMap() method in ImmutableRangeMap
271 public ImmutableRangeMap<K, V> subRangeMap(Range<K> subRange) { in subRangeMap()
273 return outer.subRangeMap(subRange.intersection(range)); in subRangeMap()
DRangeMap.java114 RangeMap<K, V> subRangeMap(Range<K> range); in subRangeMap() method
DTreeRangeMap.java249 public RangeMap<K, V> subRangeMap(Range<K> subRange) {
310 public RangeMap subRangeMap(Range range) {
403 public RangeMap<K, V> subRangeMap(Range<K> range) {
407 return TreeRangeMap.this.subRangeMap(range.intersection(subRange));