I would like to ask: how do you convert a Collection to a List in Java?
Collection
List
Collection<MyObjectType> myCollection = ...; List<MyObjectType> list = new ArrayList<MyObjectType>(myCollection);
See the Collections trail in the Java tutorials.