1
ArrayList<ArrayList<Integer>> wordIndex = new ArrayList<ArrayList<Integer>>(Collections.<ArrayList<Integer>>nCopies(initWord.length(), null));
// Populate it.
Iterator<ArrayList<Integer>> iterWordIndex = new Iterator<ArrayList<Integer>>();
爲什麼我不能這樣做?無法實例化類型迭代器<ArrayList <Integer>>
Cannot instantiate the type Iterator<ArrayList<Integer>>