Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSubRangeMapPut (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        RangeMap<Integer, Integer> sub2 = sub1.subRangeMap(Range.open(6, 15));
        assertEquals(
            ImmutableMap.of(Range.open(6, 7), 1, Range.closed(9, 10), 2), sub2.asMapOfRanges());
      }
    
      public void testSubRangeMapPut() {
        RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
        rangeMap.put(Range.open(3, 7), 1);
        rangeMap.put(Range.closed(9, 10), 2);
        rangeMap.put(Range.closed(12, 16), 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top