結果 : how to print duplicate elements in arraylist in java