Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FinalizableWeakReference (0.11 sec)

  1. android/guava/src/com/google/common/base/FinalizableWeakReference.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class FinalizableWeakReference<T> extends WeakReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@CheckForNull T referent, FinalizableReferenceQueue queue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableWeakReference.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class FinalizableWeakReference<T> extends WeakReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable weak reference.
       *
       * @param referent to weakly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableWeakReference(@CheckForNull T referent, FinalizableReferenceQueue queue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

              @Override
              public boolean isDone() {
                return reference.finalizeReferentCalled;
              }
            });
      }
    
      static class MockReference extends FinalizableWeakReference<Object> {
    
        volatile boolean finalizeReferentCalled;
    
        MockReference(FinalizableReferenceQueue frq) {
          super(new Object(), frq);
        }
    
        @Override
        public void finalizeReferent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        Callable<?> sepFrqUser = (Callable<?>) sepFrqUserC.getDeclaredConstructor().newInstance();
        WeakReference<?> finalizableWeakReference = (WeakReference<?>) sepFrqUser.call();
    
        GcFinalization.awaitClear(finalizableWeakReference);
    
        Field sepFrqUserFinalizedF = sepFrqUserC.getField("finalized");
        Semaphore finalizeCount = (Semaphore) sepFrqUserFinalizedF.get(null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top