Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for argument (0.18 sec)

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

       *     null} is treated as the four-character string {@code "null"}.
       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Sep 17 20:47:03 GMT 2021
    - 12.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

        inputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    
      public void testFutureGetThrowsCancellationIfOutputCancelled() throws Exception {
        inputFuture.set(SLOW_OUTPUT_VALID_INPUT_DATA);
        outputFuture.cancel(true); // argument is ignored
        assertThrows(CancellationException.class, () -> resultFuture.get());
      }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * @param warmupPeriod the duration of the period where the {@code RateLimiter} ramps up its rate,
       *     before reaching its stable (maximum) rate
       * @param unit the time unit of the warmupPeriod argument
       * @throws IllegalArgumentException if {@code permitsPerSecond} is negative or zero or {@code
       *     warmupPeriod} is negative
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedGenerator.java

     * collection generator.
     *
     * <p>{@code GwtTestSuiteGenerator} expects every {@code DerivedIterator} implementation to provide
     * a one-arg constructor accepting its inner generator as an argument. This requirement enables it
     * to generate source code (since GWT cannot use reflection to generate the suites).
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public interface DerivedGenerator {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/ParametricNullness.java

     * </ul>
     *
     * <p>Consumers of this annotation include:
     *
     * <ul>
     *   <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type
     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/xml/ParametricNullness.java

     * </ul>
     *
     * <p>Consumers of this annotation include:
     *
     * <ul>
     *   <li>Kotlin, for which it makes the type-variable usage (a) a Kotlin platform type when the type
     *       argument is non-nullable and (b) nullable when the type argument is nullable. We use this
     *       to "undo" {@link ElementTypesAreNonnullByDefault}. It is the best we can do for Kotlin
     *       under our current constraints.
     *   <li>NullAway, which will <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 10 21:27:51 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

          newChars[i] = toLowerCase(chars.charAt(i));
        }
        return String.valueOf(newChars);
      }
    
      /**
       * If the argument is an {@linkplain #isUpperCase(char) uppercase ASCII character}, returns the
       * lowercase equivalent. Otherwise returns the argument.
       */
      public static char toLowerCase(char c) {
        return isUpperCase(c) ? (char) (c ^ CASE_MASK) : c;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        return future instanceof FluentFuture
            ? (FluentFuture<V>) future
            : new ForwardingFluentFuture<V>(future);
      }
    
      /**
       * Simply returns its argument.
       *
       * @deprecated no need to use this
       * @since 28.0
       */
      @Deprecated
      public static <V extends @Nullable Object> FluentFuture<V> from(FluentFuture<V> future) {
        return checkNotNull(future);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Strings.java

       *     null} is treated as the four-character string {@code "null"}.
       * @param args the arguments to be substituted into the message template. The first argument
       *     specified is substituted for the first occurrence of {@code "%s"} in the template, and so
       *     forth. A {@code null} argument is converted to the four-character string {@code "null"};
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 09 00:49:18 GMT 2021
    - 12.3K bytes
    - Viewed (0)
Back to top