How to store random coordinates?

Thanks.

If I could just ask a follow-up question. I would like to be able to retrieve a name for each of my x, y, z coordinates.

Something like

String name = myTable.getString(i, 0);
float posx=random(0, 150);
float posy=random(0, 150);
float posz=random(0, 150);

I’d like to store these in some sort of array so that I can access the coordinates together with the name. But I see that Arrays and ArrayLists are type specific. Is there a datatype that is not type specific? Or is there a smarter way to access the name-coordinate pairs later in my code?

Thanks!