Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for users (9.53 sec)

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

      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
          long hitCount,
          long missCount,
          long loadSuccessCount,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

      private final long evictionCount;
    
      /**
       * Constructs a new {@code CacheStats} instance.
       *
       * <p>Five parameters of the same type in a row is a bad thing, but this class is not constructed
       * by end users and is too fine-grained for a builder.
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      public CacheStats(
          long hitCount,
          long missCount,
          long loadSuccessCount,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

       * ImmutableMultiset#toImmutableMultiset}.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <T extends @Nullable Object, E extends @Nullable Object, M extends Multiset<E>>
          Collector<T, ?, M> toMultiset(
    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)
  4. android/guava/src/com/google/common/math/Stats.java

     *       feed values to it as you get them, then call {@link StatsAccumulator#snapshot}.
     * </ul>
     *
     * <p>Static convenience methods called {@code meanOf} are also provided for users who wish to
     * calculate <i>only</i> the mean.
     *
     * <p><b>Java 8+ users:</b> If you are not using any of the variance statistics, you may wish to use
     * built-in JDK libraries instead of this class.
     *
     * @author Pete Gillin
     * @author Kevin Bourrillion
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 22K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

    public final class PairedStats implements Serializable {
    
      private final Stats xStats;
      private final Stats yStats;
      private final double sumOfProductsOfDeltas;
    
      /**
       * Internal constructor. Users should use {@link PairedStatsAccumulator#snapshot}.
       *
       * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

         * before releaseResources could be called (because we have not yet set up any of the listeners
         * that could call it, nor exposed this Future for users to call cancel() on).
         */
        requireNonNull(futures);
    
        // Corner case: List is empty.
        if (futures.isEmpty()) {
          handleAllCompleted();
          return;
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * provides methods for {@linkplain #startAsync() starting}, {@linkplain #stopAsync() stopping} and
     * {@linkplain #servicesByState inspecting} a collection of {@linkplain Service services}.
     * Additionally, users can monitor state transitions with the {@linkplain Listener listener}
     * mechanism.
     *
     * <p>While it is recommended that service lifecycles be managed via this class, state transitions
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableList.java

       * ImmutableList}, in encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings({"AndroidJdkLibsChecker", "Java7ApiChecker"})
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      @Beta // TODO: b/288085449 - Remove.
      public static <E> Collector<E, ?, ImmutableList<E>> toImmutableList() {
        return CollectCollectors.toImmutableList();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Bytes.java

    @ElementTypesAreNonnullByDefault
    public final class Bytes {
      private Bytes() {}
    
      /**
       * Returns a hash code for {@code value}; equal to the result of invoking {@code ((Byte)
       * value).hashCode()}.
       *
       * <p><b>Java 8+ users:</b> use {@link Byte#hashCode(byte)} instead.
       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
      public static int hashCode(byte value) {
        return value;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top