Refine examples for mapWithIndex.
Refine examples for mapWithIndex.

Fixes https://github.com/google/guava/pull/5793

RELNOTES=n/a
PiperOrigin-RevId: 415104694

google/guava,google/guava,mosoft521/guava,google/guava,mosoft521/guava,mosoft521/guava