Android examples for java.lang:array convert
Convert List To Array List
//package com.java2s; import java.util.ArrayList; import java.util.List; public class Main { public static <T> ArrayList<T> listToArrayList(List<T> list) { ArrayList<T> a = new ArrayList<T>(); a.addAll(list);//from w w w.j ava2 s . co m return a; } }