Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for toSet (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.Predicate;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or de-activate certain profiles and optionally fail the
     * build if those profiles do not exist.
     */
    public class ProfileActivation {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    import java.util.function.Predicate;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     * Container for storing the request from the user to activate or deactivate certain projects and optionally fail the
     * build if those projects do not exist.
     */
    public class ProjectActivation {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

    import org.eclipse.sisu.Nullable;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    import org.slf4j.helpers.MessageFormatter;
    
    import static java.util.stream.Collectors.toSet;
    
    /**
     */
    @Named
    @Singleton
    public class DefaultMaven implements Maven {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        private final Lookup lookup;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        }
    
        private static String getExecutionId(Plugin plugin, String goal) {
            Set<String> existingIds = plugin != null
                    ? plugin.getExecutions().stream().map(PluginExecution::getId).collect(Collectors.toSet())
                    : Set.of();
            String base = "default-" + goal;
            String id = base;
            for (int index = 1; existingIds.contains(id); index++) {
                id = base + '-' + index;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToSet() {
        assertThat(fluent(1, 2, 3, 4).toSet()).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testToSet_removeDuplicates() {
        assertThat(fluent(1, 2, 1, 2).toSet()).containsExactly(1, 2).inOrder();
      }
    
      public void testToSet_empty() {
        assertTrue(fluent().toSet().isEmpty());
      }
    
      public void testToSortedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                    Set<String> s1 =
                            given.stream().filter(s -> !computed.contains(s)).collect(Collectors.toSet());
                    Set<String> s2 =
                            computed.stream().filter(s -> !given.contains(s)).collect(Collectors.toSet());
                    throw new IllegalStateException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

            Collection<org.eclipse.aether.scope.DependencyScope> nonTransitiveDependencyScopes =
                    allDependencyScopes.stream().filter(s -> !s.isTransitive()).collect(Collectors.toSet());
            org.eclipse.aether.scope.DependencyScope system = internalScopeManager
                    .getDependencyScope(DependencyScope.SYSTEM.id())
                    .orElse(null);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

            this.providedArtifactsV4 = providedArtifacts.stream()
                    .filter(ga -> ga.startsWith("org.apache.maven:maven-api-"))
                    .collect(Collectors.toSet());
        }
    
        private ClassRealm newRealm(String id) {
            synchronized (world) {
                String realmId = id;
    
                Random random = new Random();
    
                while (true) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top