- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for findFirst (0.04 sec)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java
*/ public ProjectSegment findByMavenProject(MavenProject mavenProject) { return items.stream() .filter(pb -> mavenProject.equals(pb.getProject())) .findFirst() .orElse(null); } @Override public Iterator<ProjectSegment> iterator() { return items.iterator(); } public void closeAll() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
* streams. * * <p>If the stream has nondeterministic order, this has equivalent semantics to {@link * Stream#findAny} (which you might as well use). * * @see Stream#findFirst() * @throws NullPointerException if the last element of the stream is null */ /* * By declaring <T> instead of <T extends @Nullable Object>, we declare this method as requiring aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 21 15:40:45 UTC 2025 - 36.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* standard. Key differences include: * * <ul> * <li>A stream is <i>single-use</i>; it becomes invalid as soon as any "terminal operation" such * as {@code findFirst()} or {@code iterator()} is invoked. (Even though {@code Stream} * contains all the right method <i>signatures</i> to implement {@link Iterable}, it does not
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 55.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
* streams. * * <p>If the stream has nondeterministic order, this has equivalent semantics to {@link * Stream#findAny} (which you might as well use). * * @see Stream#findFirst() * @throws NullPointerException if the last element of the stream is null */ /* * By declaring <T> instead of <T extends @Nullable Object>, we declare this method as requiring aRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java
.findFirst() .orElse(null); assertNotNull(plugin, "Unable to find plugin with artifactId: " + artifactId); List<PluginExecution> pluginExecutions = plugin.getExecutions(); PluginExecution pluginExecution = pluginExecutions.stream() .filter(pe -> pe.getId().equals(expectedId)) .findFirst() .orElse(null);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 94.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java
Plugin pluginFromBuildList = project.getBuild().getPlugins().stream() .filter(p -> "org.apache.maven.plugins:maven-compiler-plugin".equals(p.getKey())) .findFirst() .orElse(null); assertNotNull(pluginFromBuildList, "Plugin should be found in build plugins list"); assertEquals(
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 12:50:13 UTC 2025 - 5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java
} private Relocation getRelocation(Artifact artifact) { return relocations.stream() .filter(r -> r.predicate.test(artifact)) .findFirst() .orElse(null); } } private Relocations parseRelocations(RepositorySystemSession session) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
.map(ProjectBuildingResult::getProject) .filter(Objects::nonNull) .filter(project -> request.getPom().equals(project.getFile())) .findFirst() .map(requestPomProject -> { List<MavenProject> modules = requestPomProject.getCollectedProjects() != null ? requestPomProject.getCollectedProjects()
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 9.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return getProjectArtifacts(project) .filter(artifact -> Objects.equals(requestedRepositoryConflictId, ArtifactIdUtils.toVersionlessId(artifact))) .findFirst() .orElse(null); } /** * Determines whether the specified artifact refers to test classes. * * @param artifact The artifact to check, must not be {@code null}.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:20:38 UTC 2025 - 24.4K bytes - Viewed (0)