Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for forEachOrdered (0.8 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/DependencyVerificationReportWriter.java

                failuresByArtifact
                    .entrySet()
                    .stream()
                    .sorted(DELETED_LAST.thenComparing(MISSING_LAST).thenComparing(BY_MODULE_ID))
                    .forEachOrdered(entry -> {
                        ModuleComponentArtifactIdentifier key = entry.getKey();
                        Collection<RepositoryAwareVerificationFailure> failures = entry.getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/verifier/DependencyVerifierBuilder.java

            byComponent.entrySet().stream()
                .sorted(Map.Entry.comparingByKey(MODULE_COMPONENT_IDENTIFIER_COMPARATOR))
                .forEachOrdered(entry -> builder.put(entry.getKey(), entry.getValue().build()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/CharSource.java

       */
      public void forEachLine(Consumer<? super String> action) throws IOException {
        try (Stream<String> lines = lines()) {
          // The lines should be ordered regardless in most cases, but use forEachOrdered to be sure
          lines.forEachOrdered(action);
        } catch (UncheckedIOException e) {
          throw e.getCause();
        }
      }
    
      /**
       * Returns whether the source has zero chars. The default implementation first checks {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CollectCollectors.java

            multimapSupplier,
            (multimap, input) -> {
              K key = keyFunction.apply(input);
              Collection<V> valuesForKey = multimap.get(key);
              valueFunction.apply(input).forEachOrdered(valuesForKey::add);
            },
            (multimap1, multimap2) -> {
              multimap1.putAll(multimap2);
              return multimap1;
            });
      }
    
      private CollectCollectors() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CollectCollectors.java

            multimapSupplier,
            (multimap, input) -> {
              K key = keyFunction.apply(input);
              Collection<V> valuesForKey = multimap.get(key);
              valueFunction.apply(input).forEachOrdered(valuesForKey::add);
            },
            (multimap1, multimap2) -> {
              multimap1.putAll(multimap2);
              return multimap1;
            });
      }
    
      private CollectCollectors() {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/DefaultDependenciesAccessors.java

                    .collect(Collectors.groupingBy(AbstractSourceGenerator::toJavaName))
                    .entrySet()
                    .stream()
                    .filter(e -> e.getValue().size() > 1)
                    .forEachOrdered(e -> {
                        String javaName = e.getKey();
                        List<String> names = e.getValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/WriteDependencyVerificationFile.java

            AtomicReference<PgpEntry> previousEntry = new AtomicReference<>();
            entriesToBeWritten.stream()
                .sorted()
                .filter(this::shouldWriteEntry)
                .forEachOrdered(e -> registerEntryToBuilder(e, previousEntry));
            printWarnings();
        }
    
        private void printWarnings() {
            if (hasMissingKeys || hasFailedVerification) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/FluentIterable.java

       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
       * @param collection the collection to copy elements to
       * @return {@code collection}, for convenience
       * @since 14.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FluentIterable.java

       * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
       * calling {@code Iterables.addAll(collection, this)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.forEachOrdered(collection::add)} or {@code
       * stream.forEach(collection::add)}.
       *
       * @param collection the collection to copy elements to
       * @return {@code collection}, for convenience
       * @since 14.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top