vendredi 24 août 2018

ArrayList object inspection

I have an ArrayList which elements are ArrayList, which elements are either ArrayList or a custom object. How can I determine what object type the inner object is? I believe it can be done with streams and I am using Java8, but a practical would be greatly appreciated.





Aucun commentaire:

Enregistrer un commentaire