jeudi 2 août 2018

Get Class of a concrete Map

Given 2 Class objects how can I get the Class object of a Map? For example, assume I have:

Class keyClass = Long.class;
Class valueClass = String.class;

How can I get the Class object ofMap<Long,String>?





Aucun commentaire:

Enregistrer un commentaire