- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 272 for toList (0.81 sec)
-
docs/changelogs/upgrading_to_okhttp_4.md
```kotlin val client = OkHttpClient.Builder() .dns { hostname -> InetAddress.getAllByName(hostname).toList() } .build() ``` Kotlin calling OkHttp 4.x: ```kotlin val client = OkHttpClient.Builder() .dns(object : Dns { override fun lookup(hostname: String) = InetAddress.getAllByName(hostname).toList() }) .build() ``` SAM conversion impacts these APIs:
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt
val implementationClass = pluginProperties.getProperty("implementation-class") PluginEntry(id, implementationClass) }.toList() } } catch (cause: IOException) { throw IllegalArgumentException( "Failed to extract plugin metadata from '" + jar.path + "'", cause ) } private
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/OpenJSSETest.kt
} } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build() client.newCall(request).execute().use {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 3.7K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
fun <T : Any> mapParsedKotlinFiles(vararg sourceRoots: File, block: (KtFile) -> T): List<T> = withParsedKotlinSource(sourceRoots.toList()) { ktFiles -> ktFiles.map(block) } fun parseSourceRoots(sourceRoots: List<File>, compilationClasspath: List<File>): ParsedKotlinFiles = Disposer.newDisposable().let { disposable ->Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 16 08:22:33 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
return new BasicNameValuePair(name, value); }).collect(Collectors.toList())); if (paramList != null) { parameters.addAll( paramList.stream().map(p -> new BasicNameValuePair(p.getFirst(), p.getSecond())).collect(Collectors.toList())); } return new UrlEncodedFormEntity(parameters, encoding);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java
*/ private boolean isSubprojectsListRedundant(Element subprojectsElement, Path pomPath) { List<Element> subprojectElements = subprojectsElement.children(SUBPROJECT).toList(); if (subprojectElements.isEmpty()) { return true; // Empty list is redundant } // Get the directory containing this POM Path parentDir = pomPath.getParent();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* .limit(10) * .toList(); * } * * The approximate stream equivalent is: * * {@snippet : * List<String> results = * database.getClientList() * .stream() * .filter(Client::isActiveInLastMonth) * .map(Object::toString) * .limit(10) * .collect(Collectors.toList()); * } * * @author Marcin Mikosik * @since 12.0
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java
poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven")) .filter(p -> p.getFileName().toString().endsWith(".pom")) .collect(Collectors.toList()); } } @Benchmark public int readWithStax(AdditionState state) throws IOException, XMLStreamException { int i = 0; for (Path pom : state.poms) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java
|| result.getBuildSummary(project) instanceof BuildFailure) .map(project -> project.getGroupId() + ":" + project.getArtifactId()) .collect(Collectors.toList()); if (remainingProjects.isEmpty()) { LOGGER.info("No remaining projects found, resuming the build would not make sense."); return Optional.empty(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
final File[] jarFiles = ResourceUtil.getPluginJarFiles(PluginHelper.ArtifactType.DATA_STORE.getId()); if (jarFiles == null) { return nameSet.stream().sorted().collect(Collectors.toList()); } for (final File jarFile : jarFiles) { try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 9K bytes - Viewed (0)