Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSubMapInclusiveExclusive (0.09 sec)

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

            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", false, "two", false);
        assertThat(map.entrySet()).containsExactly(immutableEntry("three", 3));
      }
    
      public void testSubMapInclusiveExclusive() {
        Map<String, Integer> map =
            ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).subMap("one", true, "two", false);
        assertThat(map.entrySet())
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top