Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testTreeMapNonGeneric (0.49 seconds)

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

        assertThat(map.values()).containsExactly(2, 1).inOrder();
        assertThat(map.comparator()).isNull();
      }
    
      public void testTreeMapNonGeneric() {
        TreeMap<LegacyComparable, Integer> map = Maps.newTreeMap();
        assertEquals(emptyMap(), map);
        map.put(new LegacyComparable("foo"), 1);
        map.put(new LegacyComparable("bar"), 2);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
Back to Top