Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newHashMap (1.54 sec)

  1. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

         * @param <V> the value type of {@link HashMap}
         * @return a new instance of {@link HashMap}
         * @see HashMap#HashMap()
         */
        public static <K, V> HashMap<K, V> newHashMap() {
            return new HashMap<>();
        }
    
        /**
         * Creates and returns a new instance of {@link HashMap}.
         *
         * @param <K> the key type of {@link HashMap}
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Integer, Integer> map = Maps.newHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testHashMapWithInitialMap() {
        Map<String, Integer> original = new TreeMap<>();
        original.put("a", 1);
        original.put("b", 2);
        original.put("c", 3);
        @SuppressWarnings("UseCollectionConstructor") // test of factory method
        HashMap<String, Integer> map = Maps.newHashMap(original);
        assertEquals(original, map);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
Back to top