Android Utililty Methods Collection to ArrayList Convert

List of utility methods to do Collection to ArrayList Convert

Description

The list of methods to do Collection to ArrayList Convert are organized into topic(s).

Method

ArrayListasArrayList(Collection collection)
Takes any collection and turns it into an java.util.ArrayList
ArrayList<E> arrayList = new ArrayList<>();
arrayList.addAll(collection);
return arrayList;