Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMultimapCreateFromTreeMultimap (0.2 seconds)

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

        multimap.put("tree", 0);
        multimap.put("tree", null);
        return multimap;
      }
    
      /** Test that a TreeMultimap created from another uses the natural ordering. */
      public void testMultimapCreateFromTreeMultimap() {
        TreeMultimap<String, Integer> tree =
            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
        tree.put("google", 2);
        tree.put("google", 6);
        tree.put("tree", 0);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top