Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newLinkedHashMap (0.06 sec)

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

              capacity >= expectedSize);
        }
      }
    
      public void testLinkedHashMap() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

              capacity >= expectedSize);
        }
      }
    
      public void testLinkedHashMap() {
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        LinkedHashMap<Integer, Integer> map = Maps.newLinkedHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testLinkedHashMapWithInitialMap() {
        Map<String, String> map =
            new LinkedHashMap<String, String>(
                ImmutableMap.of(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMap<K, V> newLinkedHashMap() {
        return new LinkedHashMap<>();
      }
    
      /**
       * Creates a <i>mutable</i>, insertion-ordered {@code LinkedHashMap} instance with the same
       * mappings as the specified map.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top