Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for parameter (0.34 sec)

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

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
    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)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/ElementTypesAreNonnullByDefault.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Preconditions.java

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
    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)
  5. guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Cut.java

      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
       * casting the type parameter is safe.
       */
      @SuppressWarnings("unchecked")
      static <C extends Comparable> Cut<C> belowAll() {
        return (Cut<C>) BelowAll.INSTANCE;
      }
    
      private static final long serialVersionUID = 0;
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ElementTypesAreNonnullByDefault.java

     */
    
    package com.google.common.collect.testing.google;
    
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.PARAMETER;
    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    import com.google.common.annotations.GwtCompatible;
    import java.lang.annotation.Retention;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable)}.</b>
       */
      @DoNotCall("Pass a parameter of type Comparable")
      @Deprecated
      public static <E> ImmutableSortedSet<E> of(E element) {
        throw new UnsupportedOperationException();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        this.expectedElements = Helpers.copyToList(expectedElements);
        this.knownOrder = knownOrder;
        this.startIndex = startIndex;
      }
    
      /**
       * I'd like to make this a parameter to the constructor, but I can't because the stimulus
       * instances refer to {@code this}.
       */
      protected abstract Iterable<? extends Stimulus<E, ? super I>> getStimulusValues();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top