title: Java8 equivalent for ruby's each_with_index
body: <p>I wonder, if there's some stream operation that can do as <code>each_with_index</code> in ruby. </p>
  
  <p>Where <code>each_with_index</code> iterates over the value as well as the index of the value. </p>