- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 116 for findAny (0.15 sec)
-
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed May 22 13:45:13 UTC 2024 - 11.1K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/WatchableHierarchies.java
vfsRoot.rootSnapshotsUnder(watchableHierarchy) .filter(snapshotRoot -> !isInWatchableHierarchy(snapshotRoot.getAbsolutePath()) && !ignoredForWatching(snapshotRoot)) .findAny() .ifPresent(snapshotRoot -> { throw new IllegalStateException(String.format( "Found existing snapshot at '%s' for unwatched hierarchy '%s'",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:02:39 UTC 2024 - 15.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptionClosureInstrumentingClassVisitor.java
Optional<MethodInstrumentationStrategy> matchingStrategy = Arrays.stream(MethodInstrumentationStrategy.values()).filter(it -> name.equals(it.methodName) && (it.descriptor == null || descriptor.equals(it.descriptor))).findAny(); matchingStrategy.ifPresent(usedStrategies::add); MethodInstrumentationStrategy strategy = matchingStrategy.orElse(MethodInstrumentationStrategy.DEFAULT); return strategy.methodVisitorFactory.apply(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 01:16:36 UTC 2024 - 16.9K bytes - Viewed (0) -
maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java
return providers.stream() .flatMap(p -> p.provides().stream()) .filter(t -> Objects.equals(id, t.id())) .findAny(); } }; } @Provides static LifecycleRegistry newLifecycleRegistry() { return new LifecycleRegistry() { @Override
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/AbstractFileWatcherUpdaterTest.groovy
return actualSorted == expectedSorted } boolean vfsHasSnapshotsAt(File location) { return virtualFileSystem.root.rootSnapshotsUnder(location.absolutePath) .findAny() .present } void registerWatchableHierarchies(Iterable<File> watchableHierarchies) { watchableHierarchies.each { watchableHierarchy ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 21.5K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 18.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* iterable is empty, {@code Optional.absent()} is returned. * * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}. * * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 30 00:14:39 UTC 2024 - 35.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
* iterable is empty, {@code Optional.absent()} is returned. * * <p><b>{@code Stream} equivalent:</b> if the goal is to obtain any element, {@link * Stream#findAny}; if it must specifically be the <i>first</i> element, {@code Stream#findFirst}. * * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 30 00:14:39 UTC 2024 - 35.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
* href="http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html">efficiently splittable</a> * 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 */ /*
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 36.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterables.java
* iterator whether it has any elements <i>remaining</i> (which one does using {@link * Iterator#hasNext}). * * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()} * * @return {@code true} if the iterable contains no elements */ public static boolean isEmpty(Iterable<?> iterable) { if (iterable instanceof Collection) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 42.5K bytes - Viewed (0)