Replace List<Long> to LongArrayList.

Replace List<Double> to DoubleArrayList.