Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for mapWithIndex (0.07 seconds)

  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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.8K bytes
    - Click Count (0)
  2. 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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
Back to Top