Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for newIdentityHashMap (0.08 sec)

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

         * @param <V> the value type of {@link IdentityHashMap}
         * @return a new instance of {@link IdentityHashMap}
         * @see IdentityHashMap#IdentityHashMap()
         */
        public static <K, V> IdentityHashMap<K, V> newIdentityHashMap() {
            return new IdentityHashMap<>();
        }
    
        /**
         * Creates and returns a new instance of {@link IdentityHashMap}.
         *
         * @param <K> the key type of {@link IdentityHashMap}
    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

      }
    
      // 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)
  3. android/guava/src/com/google/common/collect/Sets.java

       * way {@code IdentityHashMap} handles key lookups.
       *
       * @since 8.0
       */
      public static <E extends @Nullable Object> Set<E> newIdentityHashSet() {
        return Collections.newSetFromMap(Maps.newIdentityHashMap());
      }
    
      /**
       * Creates an empty {@code CopyOnWriteArraySet} instance.
       *
       * <p><b>Note:</b> if you need an immutable empty {@link Set}, use {@link Collections#emptySet}
       * instead.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/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: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
Back to top