Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testBuilder_orderEntriesByValueFails (0.35 sec)

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

                .put("five", 5)
                .build();
        assertMapEquals(map, "five", 5, "four", 4, "one", 1, "three", 3, "two", 2);
      }
    
      @SuppressWarnings("DoNotCall")
      public void testBuilder_orderEntriesByValueFails() {
        ImmutableSortedMap.Builder<String, Integer> builder = ImmutableSortedMap.naturalOrder();
        assertThrows(
            UnsupportedOperationException.class, () -> builder.orderEntriesByValue(Ordering.natural()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
Back to top