- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 323 for getMethod (0.27 sec)
-
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: 2024-06-12 12:50 - Last Modified: 2024-03-07 01:59 - 5.5K bytes - Viewed (0) -
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: 2024-06-12 15:17 - Last Modified: 2024-02-22 01:36 - 15.1K bytes - Viewed (0) -
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: 2024-06-12 12:50 - Last Modified: 2024-03-07 01:59 - 11.5K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/MethodInvocationTest.groovy
def invocation = new MethodInvocation(String.class.getMethod("length"), ["param"] as Object[]) def equalInvocation = new MethodInvocation(String.class.getMethod("length"), ["param"] as Object[]) def differentMethod = new MethodInvocation(String.class.getMethod("getBytes"), ["param"] as Object[]) def differentArgs = new MethodInvocation(String.class.getMethod("length"), ["a", "b"] as Object[])
Registered: 2024-06-12 18:38 - Last Modified: 2023-10-05 19:36 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
result.arguments == [[] as Thing[]] as Object[] } def "replaces a method that has already been seen with an integer ID"() { def method1 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE) def method2 = String.class.getMethod("substring", Integer.TYPE, Integer.TYPE) def invocation1 = new MethodInvocation(method1, [1, 2] as Object[])
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-22 08:59 - 5K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy
} def "static methods are not property accessors"() { expect: PropertyAccessorType.of(StaticMethods.getMethod("isStatic")) == null PropertyAccessorType.of(StaticMethods.getMethod("getStatic")) == null PropertyAccessorType.of(StaticMethods.getMethod("setStatic", int)) == null } static class DeviantProviderMethods { Provider<Boolean> isNotBoolean() { null
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 09:51 - 10.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java
public HttpClientWrapper(HttpClient client) { this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { GetMethod method = new GetMethod(url); try { int statusCode = doGet(method); return method.getResponseBody(); } catch (Exception e) {
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-27 17:53 - 1.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java
public HttpClientWrapper(HttpClient client) { this.client = client; } // public methods belongs to your API public byte[] doRawGet(String url) { GetMethod method = new GetMethod(url); try { int statusCode = doGet(method); return method.getResponseBody(); } catch (Exception e) {
Registered: 2024-06-12 18:38 - Last Modified: 2023-11-27 17:53 - 1.4K bytes - Viewed (0) -
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,
Registered: 2024-06-16 04:42 - Last Modified: 2024-01-08 01:13 - 6K bytes - Viewed (0) -
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")); }
Registered: 2024-06-12 16:38 - Last Modified: 2024-02-21 16:49 - 4.4K bytes - Viewed (0)