mercredi 28 novembre 2018

Iterating in a list and deleting contents of an object in Java

I have an Arraylist named deleteFields. I have an Object named mergedDiffSRO. I have to delete all the fields of mergedDiffSRO which are present in deleteFields.

How do i proceed with the same? Is reflection to be used for the same? Please suggest some way out with proper code in JAVA.





Aucun commentaire:

Enregistrer un commentaire