Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 49 for anyMatch (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    metaVersionLocations.computeIfAbsent(ga, k -> new ArrayList<>()).add(location);
                }
            }
            if (gasLocations.values().stream().anyMatch(l -> l.size() > 1)) {
                throw new IllegalStateException("Extension conflicts in file " + extensionFile + ": "
                        + gasLocations.entrySet().stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

                        if (groupId != null && artifactId != null) {
                            boolean isProjectArtifact = allGAVs.stream()
                                    .anyMatch(gav -> Objects.equals(gav.groupId(), groupId)
                                            && Objects.equals(gav.artifactId(), artifactId));
    
                            if (isProjectArtifact) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            }
        }
    
        private void persistResumptionData(MavenExecutionResult result, MavenSession session) {
            boolean hasLifecycleExecutionExceptions =
                    result.getExceptions().stream().anyMatch(LifecycleExecutionException.class::isInstance);
    
            if (hasLifecycleExecutionExceptions) {
                MavenProject rootProject = session.getAllProjects().stream()
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 29 10:43:38 GMT 2025
    - 28.8K bytes
    - Click Count (1)
  4. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            // Clean up metrics for connections that no longer exist
            connectionMetrics.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                boolean exists = connections.stream().anyMatch(conn -> getConnectionKey(conn).equals(key));
                return !exists;
            });
        }
    
        /**
         * Get detailed health statistics
         */
        public PoolHealthMetrics getHealthMetrics() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

         * @return {@code true} if the instance is active.
         */
        public boolean isInstanceActive(final String targetInstanceId) {
            return getActiveInstances().stream().anyMatch(i -> i.instanceId.equals(targetInstanceId));
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (StringUtil.isNotBlank(requiredKeysStr) && StreamUtil.split(requiredKeysStr, ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).anyMatch(name -> {
                            final String[] values = req.getParameterValues(name);
                            if (values == null || values.length == 0 || StringUtil.isEmpty(values[0])) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * @return true if the URL starts with a supported web protocol, false otherwise
         */
        public boolean isValidWebProtocol(final String url) {
            return stream(webProtocols).get(stream -> stream.anyMatch(s -> url.startsWith(s)));
        }
    
        /**
         * Checks if the given URL uses a valid file protocol.
         *
         * @param url the URL to validate
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  8. guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

        @Execute
        public StreamResponse get$file(final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            if (stream(fessConfig.getIndexBackupAllTargets()).get(stream -> stream.anyMatch(s -> s.equals(id)))) {
                if ("system.properties".equals(id)) {
                    return asStream(id).contentTypeOctetStream().stream(out -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Returns {@code true} if any element in {@code iterable} satisfies the predicate.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#anyMatch}.
       */
      public static <T extends @Nullable Object> boolean any(
          Iterable<T> iterable, Predicate<? super T> predicate) {
        return Iterators.any(iterable.iterator(), predicate);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
Back to Top