which collection should I use
- by Masna
Hello,
I have a number of custom objects of type X. X has a number of parameters and must be unique in the collection. (I created my own equals method based on the custom parameters to examine this)
In each object of type x, I have a list of objects y.
I want to add/remove/modify easily an object y.
For example:
To write the add method, it…