Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for weakHashMap (0.04 sec)

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

         * Creates and returns a new instance of {@link WeakHashMap}.
         *
         * @param <K> the key type of {@link WeakHashMap}
         * @param <V> the value type of {@link WeakHashMap}
         * @return a new instance of {@link WeakHashMap}
         * @see WeakHashMap#WeakHashMap()
         */
        public static <K, V> WeakHashMap<K, V> newWeakHashMap() {
            return new WeakHashMap<>();
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

     * be quickly garbage-collected before they are ever accessed.
     *
     * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link
     * java.util.WeakHashMap}, but note that it compares keys using object identity whereas {@code
     * WeakHashMap} uses {@link Object#equals}.
     *
     * @author Bob Lee
     * @author Charles Fry
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top