Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mapWithIndex (0.15 sec)

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

      }
    
      /**
       * Returns a stream consisting of the results of applying the given function to the elements of
       * {@code stream} and their indices in the stream. For example,
       *
       * {@snippet :
       * mapWithIndex(
       *     Stream.of("a", "b", "c"),
       *     (e, index) -> index + ":" + e)
       * }
       *
       * <p>would return {@code Stream.of("0:a", "1:b", "2:c")}.
       *
       * <p>The resulting stream is <a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
Back to top