Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for Reference (0.68 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class ExecutionError extends Error {
      /*
       * Ideally, this class would have exposed only constructors that require a non-null cause. See
       * https://github.com/jspecify/jspecify-reference-checker/blob/61aafa4ae52594830cfc2d61c8b113009dbdb045/src/main/java/com/google/jspecify/nullness/NullSpecTransfer.java#L789
       * and https://github.com/jspecify/jspecify/issues/490.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 17:52:19 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

      @Override
      @CheckForNull
      public abstract V get(@CheckForNull Object key);
    
      /**
       * {@inheritDoc}
       *
       * <p>See <a
       * href="https://developer.android.com/reference/java/util/Map.html#getOrDefault%28java.lang.Object,%20V%29">{@code
       * Map.getOrDefault}</a>.
       *
       * @since 23.5 (but since 21.0 in the JRE <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

         * href="https://developer.android.com/sdk/api_diff/16/">API Level 16</a> is the first version
         * in which {@code Cursor} is {@code Closeable}. To support older versions, pass a wrapper
         * {@code Closeable} with a method reference like {@code cursor::close}.
         *
         * <p>Note that this method is still binary-compatible between flavors because the erasure of
         * its parameter type is {@code Object}, not {@code AutoCloseable} or {@code Closeable}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Equivalence.java

        @ParametricNullness private final T reference;
    
        private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) {
          this.equivalence = checkNotNull(equivalence);
          this.reference = reference;
        }
    
        /** Returns the (possibly null) reference wrapped by this instance. */
        @ParametricNullness
        public T get() {
          return reference;
        }
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Equivalence.java

        @ParametricNullness private final T reference;
    
        private Wrapper(Equivalence<? super @NonNull T> equivalence, @ParametricNullness T reference) {
          this.equivalence = checkNotNull(equivalence);
          this.reference = reference;
        }
    
        /** Returns the (possibly null) reference wrapped by this instance. */
        @ParametricNullness
        public T get() {
          return reference;
        }
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     *       However, the precise conditions for skipping the copy operation are undefined.
     *   <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link
     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/collect/SetsTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.truth.Truth.assertWithMessage;
    import static java.io.ObjectStreamConstants.TC_REFERENCE;
    import static java.io.ObjectStreamConstants.baseWireHandle;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    
    import com.google.common.annotations.GwtCompatible;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.9K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       However, the precise conditions for skipping the copy operation are undefined.
     *   <li><b>Warning:</b> a view collection such as {@link ImmutableMap#keySet} or {@link
     *       ImmutableList#subList} may retain a reference to the entire data set, preventing it from
     *       being garbage collected. If some of the data is no longer reachable through other means,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        Object readResolve() {
          return new ImmutableRangeSet<C>(ranges).asSet(domain);
        }
      }
    
      /**
       * Returns {@code true} if this immutable range set's implementation contains references to
       * user-created objects that aren't accessible via this range set's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        Object readResolve() {
          return new ImmutableRangeSet<C>(ranges).asSet(domain);
        }
      }
    
      /**
       * Returns {@code true} if this immutable range set's implementation contains references to
       * user-created objects that aren't accessible via this range set's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top