Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Parameters (0.23 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/src/com/google/common/collect/ImmutableSortedSet.java

       * dummy version.
       *
       * @throws UnsupportedOperationException always
       * @deprecated <b>Pass the parameters of type {@code Comparable} to use {@link
       *     ImmutableSortedSet#of(Comparable, Comparable)}.</b>
       */
      @DoNotCall("Pass parameters of type Comparable")
      @Deprecated
      public static <E> ImmutableSortedSet<E> of(E e1, E e2) {
        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)
  3. android/guava/src/com/google/common/collect/Comparators.java

       * {@code lexicographical(Collections.reverseOrder(comparator))} (consider how each would order
       * {@code [1]} and {@code [1, 1]}).
       */
      // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the
      // desired return type. However, *nested* generics introduce a special class of problems that we
      // think tip it over into being worthwhile.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /**
       * Returns an immutable set of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable set is returned. The values are in the same order as the
       * parameters used to build this multimap.
       */
      @Override
      public ImmutableSet<V> get(K key) {
        // This cast is safe as its type is known in constructor.
        ImmutableSet<V> set = (ImmutableSet<V>) map.get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Types.java

          checkNotNull(rawType);
          checkArgument(typeArguments.length == rawType.getTypeParameters().length);
          disallowPrimitiveType(typeArguments, "type parameter");
          this.ownerType = ownerType;
          this.rawType = rawType;
          this.argumentsList = JavaVersion.CURRENT.usedInGenericType(typeArguments);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

       * }
       * }</pre>
       *
       * @return {@code true} if {@code multisetToModify} was changed as a result of this operation
       * @since 18.0 (present in 10.0 with a requirement that the second parameter be a {@code
       *     Multiset})
       */
      @CanIgnoreReturnValue
      public static boolean removeOccurrences(
          Multiset<?> multisetToModify, Iterable<?> occurrencesToRemove) {
    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)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      /**
       * Returns an immutable list of the values for the given key. If no mappings in the multimap have
       * the provided key, an empty immutable list is returned. The values are in the same order as the
       * parameters used to build this multimap.
       */
      @Override
      public ImmutableList<V> get(K key) {
        // This cast is safe as its type is known in constructor.
        ImmutableList<V> list = (ImmutableList<V>) map.get(key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top