Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for toCollection (0.92 seconds)

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

                    .map(ServiceLoader.Provider::get)
                    .map(CIDetector::detectCI)
                    .filter(Optional::isPresent)
                    .map(Optional::get)
                    .collect(Collectors.toCollection(ArrayList::new));
    
            if (result.size() > 1) {
                // remove generic
                result.removeIf(c -> GenericCIDetector.NAME.equals(c.name()));
            }
            return result;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java

                return;
            }
    
            final Set<File> filesToDelete = allFilesInCheckout.stream()
                .filter(each -> earlierFiles.contains(each.getName()))
                .collect(Collectors.toCollection(TreeSet::new));
    
            if (filesToDelete.isEmpty()) {
                LOGGER.warn("No files need to be deleted.");
                return;
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Sep 24 10:57:02 GMT 2021
    - 6.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java

                            Integer.parseInt(match.group(2)),
                            Integer.parseInt(match.group(3))
                        )
                    )
                    .collect(Collectors.toCollection(TreeSet::new)),
                currentVersionProperty
            );
        }
    
        // for testkit tests, until BwcVersions is extracted into an extension
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 16.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

       *
       * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to
       * {@code stream.map(function).collect(Collectors.toCollection(supplier))}.
       *
       * <p>To collect to an {@link ImmutableMultiset}, use {@link
       * ImmutableMultiset#toImmutableMultiset}.
       *
       * @since 33.2.0 (available since 22.0 in guava-jre)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multisets.java

       *
       * <p>Note that {@code stream.collect(toMultiset(function, e -> 1, supplier))} is equivalent to
       * {@code stream.map(function).collect(Collectors.toCollection(supplier))}.
       *
       * <p>To collect to an {@link ImmutableMultiset}, use {@link
       * ImmutableMultiset#toImmutableMultiset}.
       *
       * @since 22.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
Back to Top