Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for toMap (0.05 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. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

        }
    
        private static Map<AccessorKey, ReplacedAccessor> oldRemovedAccessorsOfUpgradedProperties(List<UpgradedProperty> upgradedProperties) {
            return upgradedProperties.stream()
                .flatMap(UpgradePropertiesRuleSetup::oldRemovedAccessorsOfUpgradedProperty)
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/RoleBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> !"name".equals(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. .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)
  7. 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)
  8. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                result.setAttributes(source.entrySet().stream().filter(e -> isAttribute(e.getKey()))
                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        @Suppress("UNCHECKED_CAST")
        override val subprojects = JSON.parseArray(jsonFile.readText()).map { toSubproject(it as Map<String, Any>) }
    
        private val nameToSubproject = subprojects.map { it.name to it }.toMap()
        override fun getSubprojectsForFunctionalTest(testConfig: TestCoverage) =
            subprojects.filter { it.hasTestsOf(testConfig.testType) }
    
        override fun getSubprojectByName(name: String) = nameToSubproject[name]
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/ClassGraph.kt

                        entryPoints.add(classDetails)
                    }
                }
            }
    
        fun getDependencies() = classes.map { it.value.outputClassFilename to it.value.dependencies.map { it.outputClassFilename } }.toMap()
    }
    
    
    class ClassDetails(val outputClassName: String) {
        var visited: Boolean = false
        val dependencies: MutableSet<ClassDetails> = linkedSetOf()
        val outputClassFilename
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top