Package org.okkam.awesome.utils
Class OkkamCollections
- java.lang.Object
-
- org.okkam.awesome.utils.OkkamCollections
-
public class OkkamCollections extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> List<T>toList(Collection<T> coll)Return a list from a collection.
-
-
-
Method Detail
-
toList
public static <T> List<T> toList(Collection<T> coll)
Return a list from a collection.- Type Parameters:
T- The collection type- Parameters:
coll- The input collection- Returns:
- The collection as a list
-
-