title: In Java, how to traverse two lists at the same time?
body: <p>E.g.</p>
  
  <pre><code>for(String str : list1) {
  ...
  }
  
  for(String str : list2) {
  ...
  }
  </code></pre>
  
  <p>suppose we are sure that <code>list1.size()</code> equals <code>list2.size()</code>, how to traverse these two lists in one <code>for</code> statement?</p>
  
  <p>Maybe something like <code>for(String str1 : list1, str2 : list2)</code> ?</p>