Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 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. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            if (fieldSet == null) {
                fieldSet = split(getIndexAdminArrayFields(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).map(String::trim).collect(Collectors.toSet()));
                propMap.put(INDEX_ADMIN_ARRAY_FIELD_SET, fieldSet);
            }
            return fieldSet;
        }
    
        default boolean validateIndexArrayFields(final Map<String, Object> source) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    }
                }
            } else {
                for (final LabelTypeItem item : labelList) {
                    final Set<String> permissions = stream(item.getPermissions()).get(stream -> stream.collect(Collectors.toSet()));
                    for (final String roleValue : roleSet) {
                        if (permissions.contains(roleValue)) {
                            final Map<String, String> map = new HashMap<>(2);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top