結果 : arraylist get first n elements