Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 212 for invoke (0.29 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

              final Iterator<ListFrobber> remainingActions = actionsToPerformConcurrently.iterator();
    
              final Set<List<Integer>> allStates = newHashSet();
    
              @Override
              public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                return method.equals(getAllStatesMethod)
                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

              final Iterator<ListFrobber> remainingActions = actionsToPerformConcurrently.iterator();
    
              final Set<List<Integer>> allStates = newHashSet();
    
              @Override
              public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                return method.equals(getAllStatesMethod)
                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java

            if (pcd == null) {
                return null;
            }
            return pcd.getRawClass();
        }
    
        @Override
        public <T> T invoke(final Object target, final Object... args) {
            assertArgumentNotNull("target", target);
    
            return MethodUtil.invoke(method, target, args);
        }
    
        @Override
        public <T> T invokeStatic(final Object... args) {
            if (!isStatic()) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            final MethodDesc methodDesc = beanDesc.getMethodDescNoException(name);
            if (methodDesc == null) {
                return null;
            }
            final Object value = methodDesc.invoke(annotation);
            if (value == null || "".equals(value)) {
                return null;
            }
            return value;
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
                logger.warn("Could not shutdown Commons HttpClient.", e);
            }
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *       have, of returning a new, independent iterator
     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            assertThat(foo.isPublic(), is(true));
            assertThat(foo.isStatic(), is(not(true)));
            assertThat(foo.isFinal(), is(not(true)));
            assertThat(foo.isAbstract(), is(not(true)));
            assertThat(foo.invoke(new MyBean()), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = MethodNotStaticRuntimeException.class)
        public void testFoo_InvokeStatic() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
        return Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
      }
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static Object invokeAccessibleNonThrowingMethod(
          Method method, Object receiver, Object... params) {
        try {
          return method.invoke(receiver, params);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
          throw propagate(e.getCause());
        }
      }
    
    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)
  10. android/guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        @CheckForNull
        public Object invoke(Object proxy, Method method, @CheckForNull @Nullable Object[] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    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)
Back to top