dimanche 30 novembre 2014

Why can I not create a HashMap with 'long' types in Java?


Vote count:

0




Any reason that the following is not allowed?



HashMap<long, long> x = new HashMap<>();


asked 25 secs ago







Why can I not create a HashMap with 'long' types in Java?

Aucun commentaire:

Enregistrer un commentaire