jeudi 31 janvier 2019

Class name being changed to java.util.LinkedHashMap$Entry on iteration of LinkedHashMap

While on iterating the entire LinkedHashMap in java the class name is java.util.LinkedHashMap but on iteration on entries of the LinkedHashMap the class name changes to java.util.LinkedHashMap$Entry . How could one avoid the change in class name and what are the possible reasons for the same?





Aucun commentaire:

Enregistrer un commentaire