【发布时间】:2013-03-19 14:50:29
【问题描述】:
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>>();
为什么我不能这样做?
Cannot instantiate the type Iterator<ArrayList<Integer>>
【问题讨论】:
标签: java arraylist iterator instantiation