Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCopyOfMutableEntryList (0.09 sec)

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

        return map;
      }
    
      private static <T extends @Nullable Object> Entry<T, T> entry(T key, T value) {
        return new AbstractMap.SimpleImmutableEntry<>(key, value);
      }
    
      public void testCopyOfMutableEntryList() {
        List<Entry<String, String>> entryList =
            asList(new AbstractMap.SimpleEntry<>("a", "1"), new AbstractMap.SimpleEntry<>("b", "2"));
        ImmutableMap<String, String> map = ImmutableMap.copyOf(entryList);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top