- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 278 for setType (0.22 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 5K bytes - Click Count (0) -
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();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java
} public void setVersion(String version) { this.version = version; } public String getType() { return type; } public String getCheckedType() { return type == null ? "jar" : type; } public void setType(String type) { this.type = type; } public ArtifactScopeEnum getArtifactScope() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 8K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/ChangelogEntry.java
} public String getArea() { return area; } public void setArea(String area) { this.area = area; } public String getType() { return type; } public void setType(String type) { this.type = type; } public String getSummary() { return summary; } public void setSummary(String summary) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 9.3K bytes - Click Count (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());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 16.4K bytes - Click Count (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()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 02:11:14 GMT 2025 - 15.4K bytes - Click Count (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))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java
toolchain.setType("TYPE"); toolchain.setProvides(props); PersistedToolchains userResult = new PersistedToolchains(); userResult.setToolchains(Collections.singletonList(toolchain)); props = new Properties(); props.put("key", "global_value"); toolchain = new ToolchainModel(); toolchain.setType("TYPE"); toolchain.setProvides(props);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 14K bytes - Click Count (0)