Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testPutCoalescingSubmapEmpty (0.19 sec)

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

        rangeMap.putCoalescing(Range.closedOpen(1, 1), 1); // empty range coalesces connected ranges
        assertEquals(ImmutableMap.of(Range.closedOpen(0, 2), 1), rangeMap.asMapOfRanges());
      }
    
      public void testPutCoalescingSubmapEmpty() {
        RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
        rangeMap.put(Range.closedOpen(0, 1), 1);
        rangeMap.put(Range.closedOpen(1, 2), 1);
        assertEquals(
    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