java collections to list code example Example: java collection to list List theList = new ArrayList(coll);