哪一个更有效地实例化列表?
List<Type> list = new ArrayList<Type>(2); list.add(new Type("one")); list.add(new Type("two"));
要么
List<Type> list = Arrays.asList(new Type("one"),new Type("two"));