結果 : java for each loop check if last element