Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for parameterTypes (0.14 sec)

  1. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        private final String name;
        private final ImmutableList<Class<?>> parameterTypes;
    
        Signature(Method method) {
          this(method.getName(), ImmutableList.copyOf(method.getParameterTypes()));
        }
    
        Signature(String name, ImmutableList<Class<?>> parameterTypes) {
          this.name = name;
          this.parameterTypes = parameterTypes;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

          Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes);
          return Invokable.from(constructor);
        }
    
        static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) {
          try {
            Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

          Constructor<Prepender> constructor = Prepender.class.getDeclaredConstructor(parameterTypes);
          return Invokable.from(constructor);
        }
    
        static Invokable<Prepender, Object> method(String name, Class<?>... parameterTypes) {
          try {
            Method method = Prepender.class.getDeclaredMethod(name, parameterTypes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            final Type[] parameterTypes = getGenericParameters(type);
            if (parameterTypes == null) {
                return desc;
            }
            final ParameterizedClassDesc[] parameterDescs = new ParameterizedClassDesc[parameterTypes.length];
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterDescs[i] = createParameterizedClassDesc(parameterTypes[i], map);
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
            for (int i = 0; i < arguments.length; i++) {
              if (!parameterTypes[i].isAssignableFrom(arguments[i].getClass())) {
                continue METHODS;
              }
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/lang/MethodUtil.java

            assertArgumentNotNull("method", method);
    
            final Type[] parameterTypes = method.getGenericParameterTypes();
            return GenericsUtil.getRawClass(GenericsUtil.getElementTypeOfCollection(parameterTypes[position]));
        }
    
        /**
         * 指定されたメソッドの戻り値型として宣言されているパラメタ化されたコレクションの要素型を返します。
         *
         * @param method
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        private final String name;
        private final ImmutableList<Class<?>> parameterTypes;
    
        Signature(Method method) {
          this(method.getName(), ImmutableList.copyOf(method.getParameterTypes()));
        }
    
        Signature(String name, ImmutableList<Class<?>> parameterTypes) {
          this.name = name;
          this.parameterTypes = parameterTypes;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. android/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 =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. 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 =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top