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