Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 187 for getMethod (0.32 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getListIteratorFullyModifiableMethod() {
        return Helpers.getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_unmodifiable()} so that it can
       * be suppressed in GWT tests.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java

                executor.execute(runnable);
              }
            };
        Future<?> future = newFutureInstance();
        future
            .getClass()
            .getMethod(
                "setFuture",
                future.getClass().getClassLoader().loadClass(ListenableFuture.class.getName()))
            .invoke(future, badFuture);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
        fail();
      }
    
      public void testStaticOneArgMethodsThatShouldPass() throws Exception {
        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) {
    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-tests/test/com/google/common/reflect/TypeTokenTest.java

        Method getMethod = List.class.getMethod("get", int.class);
        Method setMethod = List.class.getMethod("set", int.class, Object.class);
        new EqualsTester()
            .addEqualityGroup(Invokable.from(getMethod), Invokable.from(getMethod))
            .addEqualityGroup(Invokable.from(setMethod))
            .addEqualityGroup(new TypeToken<List<Integer>>() {}.method(getMethod))
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

      public static Method getContainsEntryWithIncomparableKeyMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getContainsEntryWithIncomparableValueMethod() {
        return Helpers.getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableValue");
      }
    
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

       * the other. Thus, we say the bug is in add(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported");
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_nullSupported()} so that tests of
       * {@link java.util.TreeSet} can suppress it with {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    logger.debug("HTTP Request: {}", httpRequest.getMethod());
                }
                final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        }
      }
    
      private static Method getJdkNextDown() throws Exception {
        try {
          return Math.class.getMethod("nextDown", double.class);
        } catch (NoSuchMethodException expectedBeforeJava8) {
          return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class);
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue().
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

         */
        @Test
        public void testMethodParameterType() throws Exception {
            final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class);
            final Method method = Hoge.class.getMethod("foo", Set.class, Map.class);
            ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map);
            assertThat(desc.getRawClass(), is(sameClass(Set.class)));
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        }
      }
    
      private static Method getJdkNextDown() throws Exception {
        try {
          return Math.class.getMethod("nextDown", double.class);
        } catch (NoSuchMethodException expectedBeforeJava8) {
          return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class);
        }
      }
    
      @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue().
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 2.9K bytes
    - Viewed (0)
Back to top