- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for findFirst (0.19 sec)
-
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
final int maxQueryLength = fessConfig.getQueryMaxLengthAsInteger(); stream(conditions.get(SearchRequestParams.AS_OCCURRENCE)) .of(stream -> stream.filter(this::isOccurrence).findFirst().ifPresent(q -> queryBuf.insert(0, q + ":"))); stream(conditions.get(SearchRequestParams.AS_Q)).of(stream -> stream
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.7K 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 a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 36.8K 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 Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
DispatcherMeta meta = secDispatcher.availableDispatchers().stream() .filter(d -> Objects.equals(config.getDefaultDispatcher(), d.name())) .findFirst() .orElseThrow(); if (!meta.fields().isEmpty()) { result = prompt.prompt( context.header,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
return result; } else { session.getAllProjects().stream() .filter(MavenProject::isExecutionRoot) .findFirst() .ifPresent(buildResumptionDataRepository::removeResumptionData); } } finally { try { afterSessionEnd(session);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
.filter(p -> artifact.equals(p.getArtifact())) .map(MavenProject::getRemoteArtifactRepositories) .findFirst() .orElseGet(() -> getRepositoriesFromModel(repositorySession, model)); } else { pomRepositories = new ArrayList<>(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
this.currentProject = ThreadLocal.withInitial(() -> first); this.topLevelProject = projects.stream() .filter(project -> project.isExecutionRoot()) .findFirst() .orElse(first); } else { this.currentProject = new ThreadLocal<>(); this.topLevelProject = null; } this.projects = projects; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 77.1K bytes - Viewed (0)