Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 296 for reference (0.19 sec)

  1. guava/src/com/google/common/base/Optional.java

    /**
     * An immutable object that may contain a non-null reference to another object. Each instance of
     * this type either contains a non-null reference, or contains nothing (in which case we say that
     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/SingletonImmutableSet.java

     */
    @ElementTypesAreNonnullByDefault
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
    
      // This reference is used both by the custom field serializer, and by the
      // GWT compiler to infer the elements of the lists that needs to be
      // serialized.
      //
      // Although this reference is non-final, it doesn't change after set creation.
      E element;
    
      SingletonImmutableSet(E element) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          }
        }
      }
    
      /** A weakly referenced value that also has a reference to its containing entry. */
      interface WeakValueReference<K, V, E extends InternalEntry<K, V, E>> {
        /**
         * Returns the current value being referenced, or {@code null} if there is none (e.g. because
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java

         * @param project project reference.
         * @param artifactType artifact type.
         * @param artifactFile artifact file.
         */
        void attachArtifact(MavenProject project, String artifactType, File artifactFile);
    
        /**
         * Add or replace an artifact to the current project.
         * @param project the project reference.
         * @param artifactType the type (e.g. jar) or null.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizablePhantomReference.java

        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) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/FinalizableSoftReference.java

        implements FinalizableReference {
      /**
       * Constructs a new finalizable soft reference.
       *
       * @param referent to softly reference
       * @param queue that should finalize the referent
       */
      protected FinalizableSoftReference(@CheckForNull T referent, FinalizableReferenceQueue queue) {
        super(referent, queue.queue);
        queue.cleanUp();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       *   <li>clearing weak references to unreachable referents
       *   <li>enqueuing weak references to unreachable referents in their reference queue
       * </ul>
       */
      @DoNotMock("Implement with a lambda")
      public interface FinalizationPredicate {
        boolean isDone();
      }
    
      /**
       * Waits until the given weak reference is cleared, invoking the garbage collector as necessary to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Verify.java

      public static <T> T verifyNotNull(@CheckForNull T reference) {
        return verifyNotNull(reference, "expected a non-null reference");
      }
    
      /**
       * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a custom
       * message otherwise.
       *
       * @param errorMessageTemplate a template for the exception message should the check fail. The
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Functions.java

     * @author Jared Levy
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Functions {
      private Functions() {}
    
      /**
       * A function equivalent to the method reference {@code Object::toString}, for users not yet using
       * Java 8. The function simply invokes {@code toString} on its argument and returns the result. It
       * throws a {@link NullPointerException} on null input.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Interners.java

      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
       * acceptable, this implementation may perform better than {@link #newWeakInterner}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top