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