Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for toMap (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

    import org.codehaus.plexus.classworlds.realm.ClassRealm;
    
    import static java.util.function.Function.identity;
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    /**
     * Provides information about artifacts (identified by groupId:artifactId string key) and classpath elements exported by
     * Maven core itself and loaded Maven core extensions.
     *
     * @since 3.3.0
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

            return map != null ? Collections.unmodifiableMap(map) : Collections.emptyMap();
        }
    
        private static Map<String, String> toMap(Properties properties) {
            if (properties != null && !properties.isEmpty()) {
                return properties.entrySet().stream()
                        .collect(Collectors.toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())));
    
            } else {
                return null;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.Utils.prefix;
    import static org.apache.maven.cling.invoker.Utils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.Utils.toMap;
    
    public abstract class BaseParser<O extends Options, R extends InvokerRequest<O>> implements Parser<R> {
    
        @SuppressWarnings("VisibilityModifier")
        public static class LocalContext {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

                    subProjectToTestClassTime.key to (subProjectToTestClassTime.value as JSONArray).map { TestClassTime(it as JSONObject) }
                }.toMap()
            }.toMap()
    
            val result = mutableMapOf<TestCoverage, List<SmallSubprojectBucket>>()
            for (stage in model.stages) {
                for (testCoverage in stage.functionalTests) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CollectCollectors.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.Collections.singletonMap;
    import static java.util.stream.Collectors.collectingAndThen;
    import static java.util.stream.Collectors.toMap;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.base.Preconditions;
    import java.util.Collection;
    import java.util.Comparator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                                        return request.getSystemProperties().entrySet().stream()
                                                .collect(Collectors.toMap(
                                                        e -> e.getKey().toString(),
                                                        e -> e.getValue().toString()));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

            this.locations = location.getLocations().isEmpty()
                    ? null
                    : location.getLocations().entrySet().stream()
                            .collect(Collectors.toMap(
                                    e -> e.getKey(),
                                    e -> e.getValue() == location ? this : new InputLocation(e.getValue())));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyScope.java

         * System scope.
         */
        SYSTEM("system", false);
    
        private static final Map<String, DependencyScope> IDS = Collections.unmodifiableMap(
                Stream.of(DependencyScope.values()).collect(Collectors.toMap(s -> s.id, s -> s)));
    
        public static DependencyScope forId(String id) {
            return IDS.get(id);
        }
    
        private final String id;
        private final boolean transitive;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.types = nonNull(providers, "providers").stream()
                    .flatMap(p -> p.provides().stream())
                    .collect(Collectors.toMap(Type::id, identity()));
            this.languageRegistry = nonNull(languageRegistry, "languageRegistry");
            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = nonNull(manager, "artifactHandlerManager");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/Lifecycle.java

                                            + ":" + goal)))));
            return goals.entrySet().stream()
                    .collect(Collectors.toMap(Map.Entry::getKey, e -> new LifecyclePhase(String.join(",", e.getValue()))));
        }
    
        public Map<String, LifecyclePhase> getDefaultLifecyclePhases() {
            return defaultPhases;
        }
    
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top