samedi 5 août 2017

How Can I get Properties/Fields from a class in declaration order

I am using getDeclaredFields(). But docs say that "The elements in the returned array are not sorted and are not in any particular order." So, is there any other way to get fields in declaration order. If I can get only fields names (in declaration order) , it's ok. Please help me....





Aucun commentaire:

Enregistrer un commentaire