- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 278 for GetMethod (0.21 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) -
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: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 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: 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-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: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 10.8K 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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java
} final ResponseData responseData = new ResponseData(); responseData.setUrl(request.getUrl()); responseData.setMethod(request.getMethod().toString()); return responseData; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.client.CrawlerClient#doHead(java.lang.String)
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 15.1K 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)