Here you can find the source of createList()
public static List<Integer> createList()
//package com.java2s; //License from project: Open Source License import java.util.ArrayList; import java.util.List; public class Main { public static List<Integer> createList() { return new ArrayList<>(); }//from ww w.j a v a 2s .co m }