List<Criteria> lcs = new ArrayList<>();
lcs.toArray(new Criteria[0]);
toArray的方法声明:<T> T[] toArray(T[] a);
相当于你需要将自己的ArrayList放到一个新建的数组对象中。