Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for flatMapToInt (0.12 sec)

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

                        7))
            .expect('a', 'b', 'c', 'd', 'e', 'f', 'g');
      }
    
      public void testFlatMapToInt_nullStream() {
        SpliteratorTester.ofInt(
                () ->
                    CollectSpliterators.flatMapToInt(
                        Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}),
                        (Integer i) -> i == 0 ? null : IntStream.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 an {@link IntStream} 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).flatMapToInt(stream -> stream)}, but the
       * returned stream may perform better.
       *
       * @see IntStream#concat(IntStream, IntStream)
       */
      public static IntStream concat(IntStream... 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 an {@link IntStream} 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).flatMapToInt(stream -> stream)}, but the
       * returned stream may perform better.
       *
       * @see IntStream#concat(IntStream, IntStream)
       */
      public static IntStream concat(IntStream... 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