Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 289 for parameters (0.2 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestSubjectGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * To be implemented by test generators that can produce test subjects without requiring any
     * parameters.
     *
     * @param <T> the type created by this generator.
     * @author George van den Driessche
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestSubjectGenerator<T extends @Nullable Object> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

       *
       * @param iterator the iterator whose minimum element is to be determined
       * @throws NoSuchElementException if {@code iterator} is empty
       * @throws ClassCastException if the parameters are not <i>mutually comparable</i> under this
       *     ordering.
       * @since 11.0
       */
      @ParametricNullness
      public <E extends T> E min(Iterator<E> iterator) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/NullnessCasts.java

       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
       * types (or if the type is a non-variable type, like {@code String}), then code should almost
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Aug 17 15:44:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

            TypeToken<?> paramType = type.resolveType(typeVars[i]);
            // We require all @Generates methods to either be parameter-less or accept non-null
            // values for their generic parameter types.
            Object argValue = generate(paramType);
            if (argValue == null) {
              // When a parameter of a @Generates method cannot be created,
              // The type most likely is a collection.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/MoreObjects.java

     *
     * @author Laurence Gonsalves
     * @since 18.0 (since 2.0 as {@code Objects})
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class MoreObjects {
      /**
       * Returns the first of two given parameters that is not {@code null}, if either is, or otherwise
       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
    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. guava/src/com/google/common/cache/CacheBuilderSpec.java

     *   <li>{@code maximumSize} and {@code maximumWeight}
     *   <li>{@code softValues} and {@code weakValues}
     * </ul>
     *
     * <p>{@code CacheBuilderSpec} does not support configuring {@code CacheBuilder} methods with
     * non-value parameters. These must be configured in code.
     *
     * <p>A new {@code CacheBuilder} can be instantiated from a {@code CacheBuilderSpec} using {@link
     * CacheBuilder#from(CacheBuilderSpec)} or {@link CacheBuilder#from(String)}.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Strings.java

       *     non-null values are converted to strings using {@link Object#toString()}.
       * @since 25.1
       */
      // TODO(diamondm) consider using Arrays.toString() for array parameters
      public static String lenientFormat(
          @CheckForNull String template, @CheckForNull @Nullable Object... args) {
        template = String.valueOf(template); // null -> "null"
    
        if (args == 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)
  8. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
      // Default values contain only 'null', which means don't call the CacheBuilder method (just give
      // the CacheBuilder default).
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/DefaultNetworkImplementationsTest.java

      private static final String E12 = "1-2";
      private static final String E12_A = "1-2a";
      private static final String E21 = "2-1";
      private static final String E23 = "2-3";
    
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(
            new Object[][] {
              {UNDIRECTED}, {DIRECTED},
            });
      }
    
      private final EdgeType edgeType;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java

     * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide
     * target iterators on demand. It also requires three additional constructor parameters: {@code
     * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code
     * features}, the features supported by the iterator; and {@code expectedElements}, the elements the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top