When called this.getClass().getFields()
to return an array of Field objects, would it return the same objects in subsequent calls?
In case someone wondering why this is asked, I am trying to put the Field objects as key and their current value as value in a HashMap to be retrieved later on while changes can be made to the field values, the old values are kept for comparison.
Aucun commentaire:
Enregistrer un commentaire