Is there any chance to assign to class reference the parameterized type eg.
Class<Set> c1= Set.class; //OK Class<Set<Integer>> c2 = Set<Integer>.class; //Makes error
Aucun commentaire:
Enregistrer un commentaire