Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for newIdentityHashMap (0.07 sec)

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

      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testConcurrentMap() {
        ConcurrentMap<Integer, Integer> map = Maps.newConcurrentMap();
        assertEquals(emptyMap(), 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)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testConcurrentMap() {
        ConcurrentMap<Integer, Integer> map = Maps.newConcurrentMap();
        assertEquals(emptyMap(), map);
      }
    
    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

       * syntax</a>.
       *
       * @return a new, empty {@code IdentityHashMap}
       */
      public static <K extends @Nullable Object, V extends @Nullable Object>
          IdentityHashMap<K, V> newIdentityHashMap() {
        return new IdentityHashMap<>();
      }
    
      /**
       * Computes the difference between two maps. This difference is an immutable snapshot of the state
    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