Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 71 for flatMap (0.05 sec)

  1. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 36.4K bytes
    - Viewed (0)
  2. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:26:28 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 05:56:35 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          V output(@ParametricNullness K key, @ParametricNullness V value) {
            return value;
          }
        };
      }
    
      @Override
      Spliterator<V> valueSpliterator() {
        return CollectSpliterators.flatMap(
            map.values().spliterator(), Collection::spliterator, Spliterator.SIZED, size());
      }
    
      /*
       * TODO(kevinb): should we copy this javadoc to each concrete class, so that
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 48.4K bytes
    - Viewed (0)
  6. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

            }
    
            request.setToolchains(
                    Optional.ofNullable(context.effectiveToolchains).map(PersistedToolchains::getToolchains).stream()
                            .flatMap(List::stream)
                            .map(ToolchainModel::new)
                            .collect(Collectors.groupingBy(ToolchainModel::getType)));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMultimap.java

          }
        };
      }
    
      @Override
      @GwtIncompatible("Spliterator")
      Spliterator<Entry<K, V>> entrySpliterator() {
        return CollectSpliterators.flatMap(
            asMap().entrySet().spliterator(),
            keyToValueCollectionEntry -> {
              K key = keyToValueCollectionEntry.getKey();
              Collection<V> valueCollection = keyToValueCollectionEntry.getValue();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  9. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                                    HashMap::putAll));
                }
                propMap.put(DEFAULT_LABEL_VALUES, map);
            }
            return map.entrySet().stream().flatMap(e -> {
                final String key = e.getKey();
                if (StringUtil.isEmpty(key) || userBean
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 88.2K bytes
    - Viewed (0)
Back to top