How do I convert Set into List?

The code below gives you an example of converting a Set into a List. It simply done by creating a new instance of List and pass the Set as the argument of the constructor.