I am using this code to convert a Set to a List:
Set
List
Map> mainMap = new HashMap<>(); for (int i
Also from Guava Collect library, you can use newArrayList(Collection):
newArrayList(Collection)
Lists.newArrayList([your_set])
This would be very similar to the previous answer from amit, except that you do not need to declare (or instanciate) any list object.
list