public int getMinA() { int min = Integer.MAX_VALUE; for (Point p : this.positions) { try { if (p.getA() < min) { min = p.getA(); } } catch (Exception e) { System.out.println(Arrays.toString(this.positions)); } } return min; }