No problem, I just started learning Java and also had to deal with the same problem that you had.
I first solved it by making my own get(id) and then iterate through the array and comparing the id...
Type: Posts; User: Bryan
No problem, I just started learning Java and also had to deal with the same problem that you had.
I first solved it by making my own get(id) and then iterate through the array and comparing the id...
Doesn't your People object has a id? something along the way of peopleId.
I'm using a Hastable with User objects in it, and my userid is the key in the Hashtable, that way I can easy find users...
Have you considered using Hashtables?