Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 193 for parameter (0.17 sec)

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

     * @param <V> the type of mapped values used the maps under test
     * @author George van den Driessche
     */
    // TODO: Descriptive assertion messages, with hints as to probable fixes.
    // TODO: Add another constructor parameter indicating whether the class under test is ordered, and
    // check the order if so.
    // TODO: Refactor to share code with SetTestBuilder etc.
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       * }
       * }</pre>
       *
       * @param <X> The parameter type
       * @param typeParam the parameter type variable
       * @param typeArg the actual type to substitute
       */
      /*
       * TODO(cpovirk): Is there any way for us to support TypeParameter instances for type parameters
       * that have nullable bounds? Unfortunately, if we change the parameter to TypeParameter<? extends
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingTest.java

       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
       * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with
       * different parameters can be equal. That fact is a problem for {@code
       * testSeededHashFunctionEquals}.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ListenableFuture.java

                      },
                      MoreExecutors.directExecutor());
                })
            .then(onFulfilled, onRejected);
      }
    }
    
    /**
     * Subset of the elemental2 IThenable interface without the single-parameter overload, which allows
     * us to implement it using a default implementation in J2cl ListenableFuture.
     */
    @JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "IThenable")
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 24 18:27:19 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

        }
        try {
          iia3.subArray(1, 4);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

       * equal to any other equality groups added to this tester.
       *
       * <p>The {@code @Nullable} annotations on the {@code equalityGroup} parameter imply that the
       * objects, and the array itself, can be null. That is for programmer convenience, when the
       * objects come from factory methods that are themselves {@code @Nullable}. In reality neither the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 31 19:11:50 GMT 2023
    - 6K bytes
    - Viewed (0)
  7. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

              .isEqualTo(Strings.lenientFormat("", Arrays.copyOfRange(params, 2, params.length)));
        }
      }
    
      /**
       * Returns an array containing parameters for invoking a checkArgument, checkNotNull or checkState
       * method reflectively
       *
       * @param firstParam The first parameter
       * @param sig The method signature
       */
      @GwtIncompatible("ArbitraryInstances")
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        }
        try {
          iia3.subArray(1, 4);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * verify() method, which is called after each sequence and is guaranteed to be called
     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top