Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for collectingAndThen (0.12 sec)

  1. android/guava/src/com/google/common/collect/CollectCollectors.java

     */
    
    package com.google.common.collect;
    
    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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExports.java

    import java.util.Map;
    import java.util.Set;
    
    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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
            return roots.stream()
                    .map(Paths::get)
                    .collect(Collectors.collectingAndThen(toList(), Collections::unmodifiableList));
        }
    
        @Override
        public void addCompileSourceRoot(Project project, ProjectScope scope, Path sourceRoot) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
            if (!versions.isEmpty()) {
                return versions;
            }
            return getAllProjects()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(comparator);
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        return Collectors.collectingAndThen(
            Collectors.toMap(
                keyFunction, valueFunction, mergeFunction, () -> new TreeMap<K, V>(comparator)),
            ImmutableSortedMap::copyOfSorted);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top