Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 162 for getMethod (0.04 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)));
        }
    
        /**
         *
         */
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 5.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

            assertEquals(url, testListener.requestUrl);
            assertEquals(Constants.GET_METHOD, testListener.requestMethod);
            assertNull(testListener.exceptionUrl);
            assertEquals(1, testClient.count);
            assertEquals(url, response.getUrl());
            assertEquals(Constants.GET_METHOD, response.getMethod());
        }
    
        public void test_doGet_with4Exception() {
    Registered: 2025-05-25 03:50
    - Last Modified: 2025-03-15 06:52
    - 15.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

            when:
            LinkMetaData linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME()")
    
            then:
            linkMetaData != null
            linkMetaData.style == LinkMetaData.Style.Javadoc
            linkMetaData.displayName == "$SIMPLE_CLASSNAME.${METHOD_NAME}()"
            linkMetaData.urlFragment == "$METHOD_NAME--"
    
            when:
            linkMetaData = classLinkMetaData.getMethod("$METHOD_NAME(java.lang.Integer)")
    
            then:
    Registered: 2025-05-28 11:36
    - Last Modified: 2020-12-09 08:14
    - 2.7K bytes
    - Viewed (0)
  4. 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");
    Registered: 2025-05-24 08:58
    - Last Modified: 2025-05-10 01:32
    - 11.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

      public static List<Method> getIteratorDuplicateInitializingMethods() {
        return asList(
            getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"),
            getMethod(MultisetIteratorTester.class, "testIteratorUnknownOrder"),
            getMethod(MultisetIteratorTester.class, "testRemovingIteratorKnownOrder"),
            getMethod(MultisetIteratorTester.class, "testRemovingIteratorUnknownOrder"));
      }
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 4.5K bytes
    - Viewed (0)
  6. 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);
      }
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-02-13 17:34
    - 3.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

        return Helpers.getMethod(
            CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
        return Helpers.getMethod(
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-10-31 14:51
    - 3.9K bytes
    - Viewed (0)
  8. okhttp/src/jvmMain/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,
    Registered: 2025-05-30 11:42
    - Last Modified: 2025-03-19 19:25
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.FAILS_FAST_ON_CONCURRENT_MODIFICATION;
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-12-22 03:38
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.getMethod;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_QUERIES;
    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    Registered: 2025-05-30 12:43
    - Last Modified: 2024-11-14 23:40
    - 3.6K bytes
    - Viewed (0)
Back to top