lundi 16 novembre 2015

Java: Resolve method's generic type at runtime

How can I resolve this method's generic type at runtime?

My method signature: static <T> T get(String key)

The method must remain static.





Aucun commentaire:

Enregistrer un commentaire