Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for flatMapToDouble (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                        4))
            .expect(1L, 1L, 2L, 3L);
      }
    
      public void testFlatMapToDouble_nullStream() {
        SpliteratorTester.ofDouble(
                () ->
                    CollectSpliterators.flatMapToDouble(
                        Arrays.spliterator(new Double[] {1.0, 0.0, 1.0, 2.0, 3.0}),
                        (Double i) -> i == 0.0 ? null : DoubleStream.of(i).spliterator(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

      /**
       * Returns a {@link DoubleStream} 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).flatMapToDouble(stream -> stream)}, but the
       * returned stream may perform better.
       *
       * @see DoubleStream#concat(DoubleStream, DoubleStream)
       */
      public static DoubleStream concat(DoubleStream... streams) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Streams.java

      /**
       * Returns a {@link DoubleStream} 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).flatMapToDouble(stream -> stream)}, but the
       * returned stream may perform better.
       *
       * @see DoubleStream#concat(DoubleStream, DoubleStream)
       */
      public static DoubleStream concat(DoubleStream... streams) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top