- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for GetMethod (0.14 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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.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: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 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: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K 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: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 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: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/DefaultRuleSourceValidationProblemCollector.java
} @Override public void add(MethodRuleDefinition<?, ?> method, String problem) { add(method.getMethod().getMethod(), problem); } @Override public void add(MethodRuleDefinition<?, ?> method, String problem, Throwable cause) { add(method.getMethod().getMethod(), problem + ": " + cause.getMessage()); } @Override public void add(Method method, String problem) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.4K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3K bytes - Viewed (0) -
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
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0)