Android Utililty Methods ArrayList Create

List of utility methods to do ArrayList Create

Description

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

Method

ArrayListnewArrayList( final Collection collection)
new Array List
return new ArrayList<E>(collection);
ArrayListnewArrayList()
new Array List
return new ArrayList<E>();
ArrayListnewArrayList()
new Array List
return new ArrayList<E>();
ArrayListnewArrayList(final int initialCapacity)
new Array List
return new ArrayList<E>(initialCapacity);
ListtoList(T only)
to List
ArrayList<T> result = new ArrayList<T>();
result.add(only);
return result;