結果 : java list get and remove first n elements