In Java, you can't, as foreach was meant to hide the iterator. You must do the normal For loop in order to get the current iteration.
確定! 回上一頁