Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMultimapCreateFromTreeMultimap (0.13 sec)

  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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top