Non so se ho apito bene ma se vuoi una stringa che definisca il tipo dovrebbe bastare:
Object o=tuaCollezione.get(indice);
System.out.print(o.getClass().getName());
Non so se ho apito bene ma se vuoi una stringa che definisca il tipo dovrebbe bastare:
Object o=tuaCollezione.get(indice);
System.out.print(o.getClass().getName());