Replace IntList to IntArrayList.