- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 193 for toList (0.04 seconds)
-
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
private fun getRelocatedPackages(files: Sequence<Path>): List<String> = mutableListOf<String>().apply { implementation.collectPackages(files.toList()).dump(false, this::add) } @Test fun `generates a curated list of package prefixes from directories`() { assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(someClasses())) }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Mar 25 08:50:34 GMT 2025 - 5.1K bytes - Click Count (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
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 1.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java
return projectIds.stream() .map(projects::get) .sorted(Comparator.comparingInt(order::get)) .collect(Collectors.toList()); } @Override public String toString() { return sorter.getSortedProjects().toString(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.8K bytes - Click Count (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) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 3.3K bytes - Click Count (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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 34.7K bytes - Click Count (0) -
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();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (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(); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
} /** Returns a [toString] consistent with [Map], with elements in insertion order. */ override fun toString(): String = generateSequence<LinkedTags<*>>(seed = this) { it.next as? LinkedTags<*> } .toList() .reversed() .joinToString(prefix = "{", postfix = "}") { "${it.key}=${it.value}" } } internal fun <T : Any> AtomicReference<Tags>.computeIfAbsent( type: KClass<T>, compute: () -> T,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
&& !rootProject.getDefaultGoal().isEmpty())) { tasks = Stream.of(rootProject.getDefaultGoal().split("\\s+")) .filter(g -> !g.isEmpty()) .collect(Collectors.toList()); } return calculateTaskSegments(session, tasks); } public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks) throws Exception {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0)