I am using this code to convert a Set to a List:
Set
List
Map> mainMap = new HashMap<>(); for (int i
the simplest solution
I wanted a very quick way to convert my set to List and return it, so in one line I did
return new ArrayList(mySetVariable);