結果 : java loop through list with index