- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for WeakHashMap (0.07 seconds)
-
src/main/java/org/codelibs/core/collection/Maps.java
* * @param <KEY> the key type of the <code>Map</code> * @param <VALUE> the value type of the <code>Map</code> * @param key the key to be added to the <code>Map</code> * @param value the value to be added to the <code>Map</code> * @return a {@literal Maps} for constructing a {@link WeakHashMap} with the specified key and value */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 7.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} private WeakReference<Object> createWeakReference() { return new WeakReference<>(new Object()); } public void testAwaitDone_finalizationPredicate() { WeakHashMap<Object, Object> map = new WeakHashMap<>(); map.put(new Object(), Boolean.TRUE); GcFinalization.awaitDone(map::isEmpty); assertTrue(map.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
} private WeakReference<Object> createWeakReference() { return new WeakReference<>(new Object()); } public void testAwaitDone_finalizationPredicate() { WeakHashMap<Object, Object> map = new WeakHashMap<>(); map.put(new Object(), Boolean.TRUE); GcFinalization.awaitDone(map::isEmpty); assertTrue(map.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
import java.io.Serializable; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.WeakHashMap; import org.jspecify.annotations.Nullable; /** * Utility methods for working with {@link Enum} instances. * * @author Steve McKay * @since 9.0 */ @GwtIncompatible @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseId.java
package org.apache.maven.lifecycle.internal; import java.util.Map; import java.util.Objects; import java.util.WeakHashMap; /** * Represents a parsed phase identifier. */ public class PhaseId { /** * Interned {@link PhaseId} instances. */ private static final Map<String, PhaseId> INSTANCES = new WeakHashMap<>(); /** * The execution point of this {@link PhaseId}. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Enums.java
import java.io.Serializable; import java.lang.ref.WeakReference; import java.lang.reflect.Field; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; import java.util.WeakHashMap; import org.jspecify.annotations.Nullable; /** * Utility methods for working with {@link Enum} instances. * * @author Steve McKay * @since 9.0 */ @GwtIncompatible @J2ktIncompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0)