結果 : java list keep only first n elements