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