Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testOrderedGet (0.12 sec)

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

        assertEquals(StringLength.COMPARATOR, multimap.keyComparator());
        assertEquals(DECREASING_INT_COMPARATOR, multimap.valueComparator());
      }
    
      public void testOrderedGet() {
        TreeMultimap<@Nullable String, @Nullable Integer> multimap = createPopulate();
        assertThat(multimap.get(null)).containsExactly(7, 3, 1).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertEquals("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}", multimap.toString());
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
        assertThat(multimap.get("google")).containsExactly(2, 6).inOrder();
    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