Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateFromSortedSetMultimap (0.14 sec)

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

        assertEquals(Ordering.natural(), copyFromHash.valueComparator());
      }
    
      /** Test that creating one TreeMultimap from a SortedSetMultimap uses natural ordering. */
      public void testCreateFromSortedSetMultimap() {
        SortedSetMultimap<Double, Double> tree = TreeMultimap.create(KEY_COMPARATOR, VALUE_COMPARATOR);
        tree.put(1.0, 2.0);
        tree.put(2.0, 3.0);
        tree.put(3.0, 4.0);
        tree.put(4.0, 5.0);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top