Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IdentityHashMap (0.96 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                CollectionFeature.SERIALIZABLE,
                CollectionSize.ANY)
            .suppressing(suppressForConcurrentSkipListMap())
            .createTestSuite();
      }
    
      // TODO: IdentityHashMap, AbstractMap
    
      private static Map<String, String> toHashMap(Entry<String, String>[] entries) {
        return populate(new HashMap<String, String>(), entries);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        HashMap<Object, Object> map = Maps.<Object, Object>newLinkedHashMap(original);
        assertEquals(original, map);
      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testConcurrentMap() {
    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<Object, Object> map = Maps.<Object, Object>newLinkedHashMap(original);
        assertEquals(original, map);
      }
    
      // Intentionally using IdentityHashMap to test creation.
      @SuppressWarnings("IdentityHashMapBoxing")
      public void testIdentityHashMap() {
        IdentityHashMap<Integer, Integer> map = Maps.newIdentityHashMap();
        assertEquals(emptyMap(), map);
      }
    
      public void testConcurrentMap() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 65K bytes
    - Viewed (0)
  4. 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