Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WeakHashMap (0.14 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. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

    import java.util.Map;
    import java.util.Objects;
    import java.util.WeakHashMap;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.DefaultArtifact;
    
    /**
     * Construct a version range from a specification.
     *
     */
    public class VersionRange {
        private static final Map<String, VersionRange> CACHE_SPEC = Collections.synchronizedMap(new WeakHashMap<>());
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. 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