Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for getParameterTypes (0.07 sec)

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

                if (nameComparison != 0) {
                  return nameComparison;
                } else {
                  return Integer.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
                }
              }
            });
      }
    
      /** Validates that the given method's signature meets all of our assumptions. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

            Object[] params1 = new Object[method.getParameterTypes().length];
            Object[] params2 = new Object[method.getParameterTypes().length];
            for (int i = 0; i < params1.length; i++) {
              if (method.getParameterTypes()[i] == int.class) {
                params1[i] = random.nextInt();
                params2[i] = random.nextInt();
              } else if (method.getParameterTypes()[i] == long.class) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Multimap<Class<?>, Subscriber> methodsInListener = HashMultimap.create();
        Class<?> clazz = listener.getClass();
        for (Method method : getAnnotatedMethods(clazz)) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          Class<?> eventType = parameterTypes[0];
          methodsInListener.put(eventType, Subscriber.create(bus, listener, method));
        }
        return methodsInListener;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            try {
                final java.lang.reflect.Constructor<?> constructor = FessWebResourceRoot.class.getConstructor(Context.class);
                final Class<?>[] paramTypes = constructor.getParameterTypes();
                assertEquals("Constructor should have one parameter", 1, paramTypes.length);
                assertEquals("Parameter should be Context type", Context.class, paramTypes[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       *
       * @param instance the instance to invoke {@code method} on, or null if {@code method} is static
       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
        for (int nullIndex = 0; nullIndex < types.length; nullIndex++) {
          testMethodParameter(instance, method, nullIndex);
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          ORDERING_BY_CONSTRUCTOR_PARAMETER_LIST.onResultOf(
              constructor -> asList(constructor.getParameterTypes()));
    
      private static <X> @Nullable X newFromConstructor(Constructor<X> constructor, Throwable cause) {
        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        }
        if (args.length == 0 && method.getName().equals("hashCode")) {
          return hashCode();
        }
        if (args.length == 1
            && method.getName().equals("equals")
            && method.getParameterTypes()[0] == Object.class) {
          Object arg = args[0];
          if (arg == null) {
            return false;
          }
          if (proxy == arg) {
            return true;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

        <T> Constructor<T> getConstructor();
    
        /**
         * Returns an array of the parameter types of the constructor.
         *
         * @return An array of the parameter types of the constructor
         */
        Class<?>[] getParameterTypes();
    
        /**
         * Returns {@literal true} if the constructor is {@literal public}.
         *
         * @return {@literal true} if the constructor is {@literal public}
         */
        boolean isPublic();
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkTester.java

        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
          }
        }
        return ImmutableList.copyOf(result);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top