This is not the most elegant way, but gives the idea how i decided to solve it. I loop through arraylist until condition comes true, then remove object from arraylist with correct reference.
...
Type: Posts; User: E.K.Virtanen
This is not the most elegant way, but gives the idea how i decided to solve it. I loop through arraylist until condition comes true, then remove object from arraylist with correct reference.
...
Ok. I _thougth_ that toString method at class would do the work.
I stop guessing a go with iterating :) Thanks for help.
Hi.
I created a simple test list while studying ArrayList. For some reason (some obvious i guess) i cant remove objects from list.
There is tiny class Person with some values, which are added to...