Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for methodName (0.19 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
      }
    
      private static class Request {
        final String methodName;
        final Object[] arguments;
    
        Request(String methodName, Object[] arguments) {
          this.methodName = checkNotNull(methodName);
          this.arguments = checkNotNull(arguments);
        }
      }
    
      private static class Response {
        final String methodName;
        final Object result;
        final Throwable throwable;
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
      }
    
      private static class Request {
        final String methodName;
        final Object[] arguments;
    
        Request(String methodName, Object[] arguments) {
          this.methodName = checkNotNull(methodName);
          this.arguments = checkNotNull(arguments);
        }
      }
    
      private static class Response {
        final String methodName;
        final Object result;
        final Throwable throwable;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_PASS) {
          Method method = OneArg.class.getMethod(methodName, String.class);
          try {
            new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
          } catch (AssertionFailedError unexpected) {
            fail("Should not have flagged method " + methodName);
          }
        }
      }
    
    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)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
        static WildcardType getWildcardType(String methodName) throws Exception {
          ParameterizedType parameterType =
              (ParameterizedType)
                  WithWildcardType.class.getDeclaredMethod(methodName, List.class)
                      .getGenericParameterTypes()[0];
          return (WildcardType) parameterType.getActualTypeArguments()[0];
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i2, s1, s2, i3, s1, s2)
            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 15:41:25 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/MathPreconditions.java

      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, long a, long b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
          if (typeVariableMethod == null) {
            throw new UnsupportedOperationException(methodName);
          } else {
            try {
              return typeVariableMethod.invoke(typeVariableImpl, args);
    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)
  10. guava-tests/test/com/google/common/reflect/TypesTest.java

        @SuppressWarnings("unused")
        void withLowerBound(List<? super String[][]> list) {}
    
        static WildcardType getWildcardType(String methodName) throws Exception {
          ParameterizedType parameterType =
              (ParameterizedType)
                  WithWildcardType.class.getDeclaredMethod(methodName, List.class)
                      .getGenericParameterTypes()[0];
          return (WildcardType) parameterType.getActualTypeArguments()[0];
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top