Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for Clason (0.21 sec)

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

     * guarantee that as long as we also require the input type to be non-null[*] (which is a
     * requirement that existing callers already fulfill).
     *
     * Disclaimer: Part of the reason that callers are so well adapted to `Function<A, B>` may be that
     * that is how the signature looked even prior to this comment! So naturally any change can break
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

    import com.google.common.collect.ImmutableMap;
    import java.util.Arrays;
    import java.util.Map;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link MoreObjects#toStringHelper(Object)}.
     *
     * @author Jason Lee
     */
    @GwtCompatible
    public class ToStringHelperTest extends TestCase {
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_instance() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Verify.java

       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
       * Ensures that {@code reference} is non-null, throwing a {@code VerifyException} with a default
       * message otherwise.
       *
    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)
  4. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *
       * <p>Assuming we have saturated demand, the time to go from maxPermits to thresholdPermits is
       * equal to warmupPeriod. And the time to go from thresholdPermits to 0 is warmupPeriod/2. (The
       * reason that this is warmupPeriod/2 is to maintain the behavior of the original implementation
       * where coldFactor was hard coded as 3.)
       *
       * <p>It remains to calculate thresholdsPermits and maxPermits.
       *
       * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

       */
      public static ToStringHelper toStringHelper(String className) {
        return new ToStringHelper(className);
      }
    
      /**
       * Support class for {@link MoreObjects#toStringHelper}.
       *
       * @author Jason Lee
       * @since 18.0 (since 2.0 as {@code Objects.ToStringHelper}).
       */
      public static final class ToStringHelper {
        private final String className;
        private final ValueHolder holderHead = new ValueHolder();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

        return new ArrayList<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements.
       *
       * <p><b>Note:</b> essentially the only reason to use this method is when you will need to add or
       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * description of CL 265462958.
       */
      // TODO(user): Write more tests for memory retention.
      @ForOverride
      @OverridingMethodsMustInvokeSuper
      void releaseResources(ReleaseResourcesReason reason) {
        checkNotNull(reason);
        /*
         * All elements of `futures` are completed, or this future has already completed and read
         * `futures` into a local variable (in preparation for propagating cancellation to them). In
    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-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        }
      }
    
      // If you have a FinalizableReferenceQueue that is a static field of one of the classes of your
      // app (like the FrqUser class above), then the app's ClassLoader will never be gc'd. The reason
      // is that we attempt to run a thread in a separate ClassLoader that will detect when the FRQ
      // is no longer referenced, meaning that the app's ClassLoader has been gc'd, and when that
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/UnsignedBytes.java

           * fastest (more than twice as fast as the Java implementation, vs ~1.5x with non-final static
           * fields, on x86_32) under the Hotspot server compiler. The reason is obviously that the
           * non-final fields need to be reloaded inside the loop.
           *
           * And, no, defining (final or not) local variables out of the loop still isn't as good
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

     * Generally speaking, this class reduces object allocation and memory consumption at the price of
     * moderately increased constant factors of CPU. Only use this class when there is a specific reason
     * to prioritize memory over CPU.
     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top