I have 2D coordenates for many points, for example point a = x,y
I want to do a graph implementation using adjacency list list and connect certain points of a undirectional graph in the most efficient way (not using maps or hash table)
I tried to create a class for the points named point and did an array of Linked lists
private List nodes[] = new LinkedList[numPoints]
the problem is that the array will be integers and I can´t doesnt store the x and y, I need to know the x and y