(int iterations)
| 170 | } |
| 171 | |
| 172 | @Override |
| 173 | public void setMaximumIterations(int iterations) |
| 174 | { |
| 175 | if(iterations < 1) |
| 176 | throw new IllegalArgumentException("Iterations must be a positive value, not " + iterations); |
| 177 | this.maxIterations = iterations; |
| 178 | } |
| 179 | |
| 180 | @Override |
| 181 | public int getMaximumIterations() |