Here you can find the source of newArrayList(int initialCapacity)
public static <T> ArrayList<T> newArrayList(int initialCapacity)
//package com.java2s; import java.util.*; public class Main { public static <T> ArrayList<T> newArrayList(int initialCapacity) { return new ArrayList<T>(initialCapacity); }// w w w . ja v a 2 s . c o m }