Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for getMethod (0.2 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. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            method = Hoge.class.getMethod("list");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(List.class)));
    
            method = Hoge.class.getMethod("set");
            assertThat(GenericsUtil.getActualClass(method.getGenericReturnType(), map), is(sameClass(Set.class)));
    
            method = Hoge.class.getMethod("map");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.5K 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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

      public void testBuildTesterRequirements_method() throws Exception {
        assertEquals(
            FeatureUtil.buildTesterRequirements(
                ExampleDerivedInterfaceTester.class.getMethod(
                    "testRequiringTwoExplicitDerivedFeatures")),
            new TesterRequirements(
                Sets.<Feature<?>>newHashSet(
                    ExampleBaseFeature.BASE_FEATURE_1,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
Back to top