Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for References (0.22 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

       * SoftReference} (by default, strong references are used). Softly-referenced objects will be
       * garbage-collected in a <i>globally</i> least-recently-used manner, in response to memory
       * demand.
       *
       * <p><b>Warning:</b> in most circumstances it is better to set a per-cache {@linkplain
       * #maximumSize(long) maximum size} instead of using soft references. You should only use this
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p>Note: the multimap assumes complete ownership over of {@code map} and the collections
       * returned by {@code factory}. Those objects should not be manually updated and they should not
       * use soft, weak, or phantom references.
       *
       * @param map place to store the mapping from each key to its corresponding values
       * @param factory supplier of new, empty collections that will each hold all values for a given
       *     key
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException();
        }
        return reference;
      }
    
      /**
       * Ensures that an object reference passed as a parameter to the calling method is not null.
       *
       * @param reference an object reference
       * @param errorMessage the exception message to use if the check fails; will be converted to a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. 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 Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          Comparator<? super E> comparator) {
        return new TreeSet<>(checkNotNull(comparator));
      }
    
      /**
       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/base/Preconditions.java

        if (reference == null) {
          throw new NullPointerException();
        }
        return reference;
      }
    
      /**
       * Ensures that an object reference passed as a parameter to the calling method is not null.
       *
       * @param reference an object reference
       * @param errorMessage the exception message to use if the check fails; will be converted to a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
       * <p>See also <a href="http://www.unicode.org/reports/tr11/">UAX #11 East Asian Width</a>.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/CharMatcher.java

       * errs on the side of returning {@code false} (that is, it tends to assume a character is
       * double-width).
       *
       * <p><b>Note:</b> as the reference file evolves, we will modify this matcher to keep it up to
       * date.
       *
       * <p>See also <a href="http://www.unicode.org/reports/tr11/">UAX #11 East Asian Width</a>.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Futures.java

           * don't overwrite an element in the array until after reading it.
           */
          ListenableFuture<? extends T> inputFuture = requireNonNull(inputFutures[inputFutureIndex]);
          // Null out our reference to this future, so it can be GCed
          inputFutures[inputFutureIndex] = null;
          for (int i = delegateIndex; i < delegates.size(); i++) {
            if (delegates.get(i).setFuture(inputFuture)) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
Back to top