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