Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for parare (0.24 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

       * testMethod().
       *
       * <ul>
       *   <li>normalNormal: two params, neither is Nullable
       *   <li>nullableNormal: only first param is Nullable
       *   <li>normalNullable: only second param is Nullable
       *   <li>nullableNullable: both params are Nullable
       * </ul>
       */
      public static class TwoArg {
        /** Action to take on a null param. */
        public enum Action {
          THROW_A_NPE {
            @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

      private static Object[] arbitraryParameters(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        Object[] params = new Object[parameterTypes.length];
        for (int i = 0; i < parameterTypes.length; i++) {
          params[i] = PARAMETER_VALUES.get(parameterTypes[i]);
        }
        return params;
      }
    
      private static final ImmutableSet<String> NOT_WORKING_ON_MOCKS =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        }
        Method generate = GENERATORS.get(rawType);
        if (generate != null) {
          ImmutableList<Parameter> params = Invokable.from(generate).getParameters();
          List<Object> args = Lists.newArrayListWithCapacity(params.size());
          TypeVariable<?>[] typeVars = rawType.getTypeParameters();
          for (int i = 0; i < params.size(); i++) {
            TypeToken<?> paramType = type.resolveType(typeVars[i]);
    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/Throwables.java

       * RuntimeException}, {@link Error}, {@code declaredType1}, or {@code declaredType2}.
       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType1 any checked exception type declared by the calling method
       * @param declaredType2 any other checked exception type declared by the calling method
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Throwables.java

       * RuntimeException}, {@link Error}, {@code declaredType1}, or {@code declaredType2}.
       *
       * @param throwable the Throwable to possibly propagate
       * @param declaredType1 any checked exception type declared by the calling method
       * @param declaredType2 any other checked exception type declared by the calling method
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
          Comparator<? super K> comparator,
          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

          @Nullable Object firstParam, ImmutableList<Class<?>> sig) {
        Object[] params = new Object[sig.size()];
        params[0] = firstParam;
        if (params.length > 1) {
          params[1] = "";
          if (params.length > 2) {
            // fill in the rest of the array with arbitrary instances
            for (int i = 2; i < params.length; i++) {
              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              IllegalAccessException, InvocationTargetException, FactoryMethodReturnsNullException {
        List<Parameter> params = factory.getParameters();
        List<FreshValueGenerator> argGenerators = Lists.newArrayListWithCapacity(params.size());
        List<@Nullable Object> args = Lists.newArrayListWithCapacity(params.size());
        for (Parameter param : params) {
          FreshValueGenerator generator = newFreshValueGenerator();
          argGenerators.add(generator);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/Escaper.java

     * text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
     * "Foo&lt;Bar&gt;"} to prevent {@code "<Bar>"} from being confused with an XML tag. When the
     * resulting XML document is parsed, the parser API will return this text as the original literal
     * string {@code "Foo<Bar>"}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 16:02:17 GMT 2021
    - 4.6K bytes
    - Viewed (0)
Back to top