- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for setType (0.39 sec)
-
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
*/ public void testSet() throws Exception { final Method m1 = SetType.class.getMethod("setOfString"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true)); assertThat(GenericsUtil.getElementTypeOfSet(t1), is(sameClass(String.class))); final Method m2 = SetType.class.getMethod("setOfClass"); final Type t2 = m2.getGenericReturnType();Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
* @return the parsed sitemap set */ protected SitemapSet parseTextSitemaps(final InputStream in) { final SitemapSet sitemapSet = new SitemapSet(); sitemapSet.setType(SitemapSet.URLSET); try { final BufferedReader br = new BufferedReader(new InputStreamReader(in, Constants.UTF_8)); String line; while ((line = br.readLine()) != null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt
|--BbC04y-- | |--AaB03x-- | """.trimMargin().replace("\n", "\r\n") val body = MultipartBody .Builder("AaB03x") .setType(MultipartBody.FORM) .addFormDataPart("submit-name", "Larry") .addFormDataPart( "files", null, MultipartBody .Builder("BbC04y") .addPart(Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
* @return message type */ public int getType() { return type; } /** * Sets the notification message type. * * @param type the message type (WITNESS_RESOURCE_CHANGE, WITNESS_CLIENT_MOVE, WITNESS_SHARE_MOVE, or WITNESS_IP_CHANGE) */ public void setType(int type) { this.type = type; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
.lookupPrincipalByName(getUsername()); ImmutableList<AclEntry> acl = ImmutableList.of( AclEntry.newBuilder() .setType(ALLOW) .setPrincipal(user) .setPermissions(EnumSet.allOf(AclEntryPermission.class)) .setFlags(DIRECTORY_INHERIT, FILE_INHERIT) .build());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
} } /** Confirm that [MultipartBody] and [MultipartReader] can work together. */ @Test fun `multipart round trip`() { val body = MultipartBody .Builder("boundary") .setType(MultipartBody.PARALLEL) .addPart("Quick".toRequestBody("text/plain".toMediaType())) .addFormDataPart("color", "Brown") .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody()) .build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
return ai; } private ProxyInfo proxyInfo(ArtifactRepository repository) { ProxyInfo proxyInfo = new ProxyInfo(); proxyInfo.setHost(repository.getProxy().getHost()); proxyInfo.setType(repository.getProxy().getProtocol()); proxyInfo.setPort(repository.getProxy().getPort()); proxyInfo.setNonProxyHosts(repository.getProxy().getNonProxyHosts());Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 29.9K bytes - Viewed (0) -
docs/recipes.md
private val client = OkHttpClient() fun run() { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image val requestBody = MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("title", "Square Logo") .addFormDataPart("image", "logo-square.png", File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
@Test fun multipartBodyBuilder() { val requestBody = "".toRequestBody(null) var builder: MultipartBody.Builder = MultipartBody.Builder() builder = MultipartBody.Builder("") builder = builder.setType("".toMediaType()) builder = builder.addPart(requestBody) builder = builder.addPart(headersOf(), requestBody) builder = builder.addPart(null, requestBody) builder = builder.addFormDataPart("", "")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)