Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for ToMap (0.04 sec)

  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,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 27 07:40:26 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. 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;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

      }
    
      public void testToMap() {
        assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet())
            .containsExactly(immutableEntry(1, "1"), immutableEntry(2, "2"), immutableEntry(3, "3"))
            .inOrder();
      }
    
      public void testToMap_nullKey() {
        assertThrows(
            NullPointerException.class, () -> fluent(1, null, 2).toMap(Functions.constant("foo")));
      }
    
      public void testToMap_nullValue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

                final GetObjectTaggingResponse response = s3Client.getObjectTagging(request);
                return response.tagSet().stream().collect(Collectors.toMap(Tag::key, Tag::value));
            } catch (final Exception e) {
                throw new StorageException("Failed to get tags from " + objectName, e);
            }
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

    import org.apache.maven.jline.MessageUtils;
    
    import static java.util.Objects.requireNonNull;
    import static org.apache.maven.cling.invoker.CliUtils.createInterpolator;
    import static org.apache.maven.cling.invoker.CliUtils.toMap;
    
    public class CommonsCliOptions implements Options {
        public static CommonsCliOptions parse(String source, String[] args) throws ParseException {
            CLIManager cliManager = new CLIManager();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 08 07:36:42 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            List<ProjectBuildingResult> projectBuildingResults =
                    createProjectBuildingResultMocks(Stream.of(projectParent, projectModuleD)
                            .collect(Collectors.toMap(MavenProject::getArtifactId, identity()))
                            .values());
            when(projectBuilder.build(anyList(), anyBoolean(), any(ProjectBuildingRequest.class)))
                    .thenReturn(projectBuildingResults);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 09 20:39:03 UTC 2025
    - 28K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java

                final Map<String, String> parameterMap = paramMap.entrySet()
                        .stream()
                        .filter(e -> e.getKey().startsWith(prefix))
                        .collect(Collectors.toMap(e -> e.getKey().substring(prefix.length()), Entry::getValue));
                authScheme = new FormScheme(parameterMap);
            }
            return authScheme;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top