Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 188 for ToSet (0.15 sec)

  1. subprojects/core/src/main/java/org/gradle/util/internal/WrapUtil.java

     */
    public class WrapUtil {
        /**
         * Wraps the given items in a mutable unordered set.
         */
        @SafeVarargs
        @SuppressWarnings("varargs")
        public static <T> Set<T> toSet(T... items) {
            Set<T> coll = new HashSet<T>();
            Collections.addAll(coll, items);
            return coll;
        }
    
        /**
         * Wraps the given items in a mutable domain object set.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. maven-di/src/main/java/org/apache/maven/di/impl/Binding.java

                    this.originalKey,
                    Stream.of(this.dependencies, bindingInitializer.getDependencies())
                            .flatMap(Set::stream)
                            .collect(Collectors.toSet()),
                    this.scope,
                    this.priority) {
                @Override
                public Supplier<T> compile(Function<Key<?>, Supplier<?>> compiler) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. integration-tests/gradle/build.gradle.kts

              else configurations["debugCompileClasspath"]
            } else {
              error("unexpected classpath type: " + project.name)
            }
    
          val actualClasspath = classpathConfiguration.files.map { it.name }.toSet()
          if (actualClasspath != expectedClasspath) {
            throw RuntimeException(
              """
                        Expected: ${expectedClasspath.sorted()}
                        Actual:   ${actualClasspath.sorted()}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/InstrumentationCodeGeneratorHost.java

            return coveredRequests.stream().map(requests ->
                requests.getRequestExtras().getByType(OriginatingElement.class).map(OriginatingElement::getElement).orElse(null)
            ).filter(Objects::nonNull).collect(Collectors.toSet());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

        private void assertProjectsConfigured(HasIntermediateDetails details) {
            def configuredProjects = buildOperations.all(ConfigureProjectBuildOperationType)
            assert configuredProjects.collect { fullPath(it) }.toSet() == details.projects
    
            // Scripts - one or more for settings, and one for each project build script
            def scripts = buildOperations.all(ApplyScriptPluginBuildOperationType)
            assert !scripts.empty
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/JvmInstallationMetadataMatcherTest.groovy

            if (!actualProperties.isEmpty()) {
                assert actualProperties.keySet() == probedSystemProperties.collect { it.systemPropertyKey }.toSet()
            }
    
            def execHandleFactory = Mock(ExecHandleFactory)
            def exec = Mock(ExecHandleBuilder)
            execHandleFactory.newExec() >> exec
            PrintStream output
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java

            Collection<DependencyScope> nonTransitiveDependencyScopes =
                    allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet());
            DependencyScope system =
                    internalScopeManager.getDependencyScope(DS_SYSTEM).orElse(null);
    
            ArrayList<ResolutionScope> result = new ArrayList<>();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Mar 27 14:46:12 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/main/java/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplier.java

                    }
                    return locations.stream()
                        .map(jdkHome -> InstallationLocation.autoDetected(new File(jdkHome), getSourceName()))
                        .collect(Collectors.toSet());
                } catch (IOException | ParserConfigurationException | SAXException | XPathExpressionException e) {
                    if (LOGGER.isDebugEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:17:53 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

                    }
                    [op.displayName, it]
                }
    
            def tasks = ['Task :compileJava', 'Task :compileMain2Java']
            taskOperations.keySet() == tasks.toSet()
            tasks.eachWithIndex { taskName, index ->
                def operation = taskOperations[taskName] as BuildOperationRecord
                assert operation["progress"].find { BuildOperationRecord.Progress progress ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/compatibility/AbstractContextualMultiVersionTestInterceptor.java

            }
            return partialVersions;
        }
    
        private Collection<T> getAvailableVersions() {
            return getAllVersions().stream().filter(this::isAvailable).collect(Collectors.toSet());
        }
    
        private T getFirstAvailable(Collection<T> versions) {
            for (T next : versions) {
                if (isAvailable(next)) {
                    return next;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top