First time here? Check out the FAQ!
answered Jul 29 '13
How about List<keypoint> retainbest = new ArrayList<keypoint>(pointstext.subList(0, 5000));