Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for ToMap (0.06 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                Map<String, Node> nodes = node.stream()
                        .collect(Collectors.toMap(n -> getDependencyKey(n.getDependency()), Function.identity()));
                Map<String, Dependency> directDependencies = model.getDependencies().stream()
                        .filter(dependency -> !"import".equals(dependency.getScope()))
                        .collect(Collectors.toMap(
                                DefaultConsumerPomBuilder::getDependencyKey,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/lifecycle/DefaultLifecyclesTest.java

            myLifecycles.add(myLifecycle);
            myLifecycles.addAll(defaultLifeCycles.getLifeCycles());
    
            Map<String, Lifecycle> lifeCycles = myLifecycles.stream().collect(Collectors.toMap(Lifecycle::getId, l -> l));
            PlexusContainer mockedPlexusContainer = mock(PlexusContainer.class);
            when(mockedPlexusContainer.lookupMap(Lifecycle.class)).thenReturn(lifeCycles);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. 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;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. cmd/data-usage-cache.go

    		if intOld.start != intNew.start || intOld.end != intNew.end {
    			nidx++
    			continue
    		}
    		h[nidx] += v[oidx]
    		oidx++
    		nidx++
    	}
    }
    
    // toMap returns the map to a map[string]uint64.
    func (h *sizeHistogram) toMap() map[string]uint64 {
    	res := make(map[string]uint64, dataUsageBucketLen)
    	var splCount uint64
    	for i, count := range h {
    		szInt := ObjectsHistogramIntervals[i]
    		switch {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  5. 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())));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.CliUtils.prefix;
    import static org.apache.maven.cling.invoker.CliUtils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public abstract class BaseParser implements Parser {
    
        @SuppressWarnings("VisibilityModifier")
        public static class LocalContext {
            public final ParserRequest parserRequest;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  7. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

            this[Http2::class.java.name] = "okhttp.Http2"
            this[TaskRunner::class.java.name] = "okhttp.TaskRunner"
            this["okhttp3.mockwebserver.MockWebServer"] = "okhttp.MockWebServer"
          }.toMap()
    
      internal fun androidLog(
        loggerName: String,
        logLevel: Int,
        message: String,
        t: Throwable? = null,
      ) {
        val tag = loggerTag(loggerName)
    
        if (Log.isLoggable(tag, logLevel)) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Oct 25 11:16:17 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

        @Nonnull
        public static Path getCanonicalPath(Path path) {
            requireNonNull(path, "path");
            return path.toAbsolutePath().normalize();
        }
    
        @Nonnull
        public static Map<String, String> toMap(Properties properties) {
            requireNonNull(properties, "properties");
            HashMap<String, String> map = new HashMap<>();
            for (String key : properties.stringPropertyNames()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 13 18:30:29 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. cmd/bucket-policy.go

    		cloneHeader.Del("x-amz-signature-age")
    	}
    
    	if userTags := cloneHeader.Get(xhttp.AmzObjectTagging); userTags != "" {
    		tag, _ := tags.ParseObjectTags(userTags)
    		if tag != nil {
    			tagMap := tag.ToMap()
    			keys := make([]string, 0, len(tagMap))
    			for k, v := range tagMap {
    				args[pathJoin("ExistingObjectTag", k)] = []string{v}
    				args[pathJoin("RequestObjectTag", k)] = []string{v}
    				keys = append(keys, k)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                modelBuildingRequest.inactiveProfileIds(request.getInactiveProfileIds());
                modelBuildingRequest.systemProperties(toMap(request.getSystemProperties()));
                modelBuildingRequest.userProperties(toMap(request.getUserProperties()));
                modelBuildingRequest.repositoryMerging(ModelBuilderRequest.RepositoryMerging.valueOf(
                        request.getRepositoryMerging().name()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 51.8K bytes
    - Click Count (0)
Back to Top