list type to class type code example
Example: list class type java
List<String> myList = new ArrayList<String>();
return (Class<List<String>>)myList.getClass();
List<String> myList = new ArrayList<String>();
return (Class<List<String>>)myList.getClass();