I just want an advice or suggestions of how i can do it. i\'ve been thinking about it for hours now and can\'t find a solution.
My aim is to convert this ER Diagram to t
The easiest way to do it is to create a new object with your shape and text attribute, and override the equals method. So you could be able to retrieve the shape and the text inside the shape.
You can also manage a second arraylist with your text, with matching index, like the shape in 0 have the text attribute in your text list in 0, but i do not recommand it, because it is really easy to create new issues.