static int[] pointsX(L l) { int[] x = new int[l(l)]; for i over l: x[i] = l.get(i).x; ret x; }