Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for getMethod (0.23 sec)

  1. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));
            final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode");
            assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true)));
        }
    
        /**
         *
         */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

            val putMethod = alpnClass.getMethod("put", SSLSocket::class.java, providerClass)
            val getMethod = alpnClass.getMethod("get", SSLSocket::class.java)
            val removeMethod = alpnClass.getMethod("remove", SSLSocket::class.java)
            return Jdk8WithJettyBootPlatform(
              putMethod,
              getMethod,
              removeMethod,
              clientProviderClass,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

        return Arrays.asList(
            Helpers.getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder"));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        sslSocketClass.getDeclaredMethod("setUseSessionTickets", Boolean::class.javaPrimitiveType)
      private val setHostname = sslSocketClass.getMethod("setHostname", String::class.java)
      private val getAlpnSelectedProtocol = sslSocketClass.getMethod("getAlpnSelectedProtocol")
      private val setAlpnProtocols =
        sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java)
    
      override fun isSupported(): Boolean = AndroidPlatform.isSupported
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

            try {
                Class<?> clazz = container.getContainerRealm().loadClass(PROMPTER_CLASS);
                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

        return Arrays.asList(
            Helpers.getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"),
            Helpers.getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder"));
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java

            final MethodDesc foo = beanDesc.getMethodDesc("foo");
            assertThat(foo, is(notNullValue()));
            assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc)));
            assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo")));
            assertThat(foo.getMethodName(), is("foo"));
            assertThat(foo.getParameterTypes().length, is(0));
            assertThat(foo.isPublic(), is(true));
    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. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java

       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method[] getHashCodeMethods() {
        return new Method[] {
          Helpers.getMethod(SetHashCodeTester.class, "testHashCode"),
          Helpers.getMethod(SetHashCodeTester.class, "testHashCode_containingNull")
        };
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

        Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
        Object testInstance = test.getDeclaredConstructor().newInstance();
        test.getMethod("setUp").invoke(testInstance);
        test.getMethod(getName()).invoke(testInstance);
        test.getMethod("tearDown").invoke(testInstance);
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
Back to top