Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for weakHashMap (0.06 sec)

  1. 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
    @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 13:41:58 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        WeakReference<Object> ref = new WeakReference<>(new Object());
        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. 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
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        WeakReference<Object> ref = new WeakReference<>(new Object());
        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top