Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mapWithIndex (0.06 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,
       *
       * <pre>{@code
       * mapWithIndex(
       *     Stream.of("a", "b", "c"),
       *     (e, index) -> index + ":" + e)
       * }</pre>
       *
       * <p>would return {@code Stream.of("0:a", "1:b", "2:c")}.
       *
       * <p>The resulting stream is <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (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,
       *
       * <pre>{@code
       * mapWithIndex(
       *     Stream.of("a", "b", "c"),
       *     (e, index) -> index + ":" + e)
       * }</pre>
       *
       * <p>would return {@code Stream.of("0:a", "1:b", "2:c")}.
       *
       * <p>The resulting stream is <a
    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