Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FinalizablePhantomReference (9.72 sec)

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

    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable phantom reference.
       *
       * @param referent to phantom reference
       * @param queue that should finalize the referent
       */
      protected FinalizablePhantomReference(@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.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     *   // You might also share this between several objects.
     *
     *   private static final Set<Reference<?>> references = Sets.newConcurrentHashSet();
     *   // This ensures that the FinalizablePhantomReference itself is not garbage-collected.
     *
     *   private final ServerSocket serverSocket;
     *
     *   private MyServer(...) {
     *     ...
     *     this.serverSocket = new ServerSocket(...);
     *     ...
     *   }
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top