Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for flatMap (0.25 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                return new TypeRegistry() {
                    @Override
                    public Optional<Type> lookup(String id) {
                        return providers.stream()
                                .flatMap(p -> p.provides().stream())
                                .filter(t -> Objects.equals(id, t.id()))
                                .findAny();
                    }
                };
            }
    
            @Provides
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            return request.getProfiles().stream()
                    .filter(profile -> activeProfileId.contains(profile.getId()))
                    .map(ModelBase::getProperties)
                    .flatMap(properties -> properties.entrySet().stream())
                    .filter(e -> e.getValue() != null)
                    .collect(Collectors.toMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                userManual.getSamples().convention(layout.getProjectDirectory().dir("src/samples"));
                userManual.getStagedDocumentation().convention(userguideFlattenSources.flatMap(task -> (DirectoryProperty) task.getExtensions().getExtraProperties().get("destinationDirectory")));
                userManual.getRenderedDocumentation().from(userguide);
            });
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a {@link Stream} containing the elements of the first stream, followed by the elements
       * of the second stream, and so on.
       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned
       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
      @SuppressWarnings("unchecked") // could probably be avoided with a forwarding Spliterator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. docs/bigdata/README.md

    ```
    scala> val file = sc.textFile("s3a://testbucket/testdata")
    file: org.apache.spark.rdd.RDD[String] = s3a://testbucket/testdata MapPartitionsRDD[1] at textFile at <console>:24
    
    scala> val counts = file.flatMap(line => line.split(" ")).map(word => (word, 1)).reduceByKey(_ + _)
    counts: org.apache.spark.rdd.RDD[(String, Int)] = ShuffledRDD[4] at reduceByKey at <console>:25
    
    scala> counts.saveAsTextFile("s3a://testbucket/wordcount")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  6. test-site/activator-launch-1.3.2.jar

    nonfun$apply$mcV$sp$2(TraversableLike$$anonfun$forall$1); } scala/collection/TraversableLike$$anonfun$flatMap$1.class package scala.collection; public final synchronized class TraversableLike$$anonfun$flatMap$1 extends scala.runtime.AbstractFunction1 implements scala.Serializable { private final mutable.Builder b$2; private final scala.Function1 f$5; public void TraversableLike$$anonfun$flatMap$1(mutable.Builder, scala.Function1); } scala/collection/TraversableLike$$anonfun$filterNot$1.class package...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multisets.java

        }
      }
    
      static <E extends @Nullable Object> Spliterator<E> spliteratorImpl(Multiset<E> multiset) {
        Spliterator<Entry<E>> entrySpliterator = multiset.entrySet().spliterator();
        return CollectSpliterators.flatMap(
            entrySpliterator,
            (Entry<E> entry) -> Collections.nCopies(entry.getCount(), entry.getElement()).spliterator(),
            Spliterator.SIZED
                | (entrySpliterator.characteristics()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                propMap.put(DEFAULT_LABEL_VALUES, map);
            }
            return map.entrySet().stream().flatMap(e -> {
                final String key = e.getKey();
                if (StringUtil.isEmpty(key) || userBean
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top