public class MaxIterations extends Object implements Predicate<IterationState>
| Constructor and Description |
|---|
MaxIterations(int maxIters)
Construct with the given maximum number of iterations
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(IterationState is)
Tests whether a specific object passes some criteria.
|
public MaxIterations(int maxIters)
maxIters - maximum number of iterationspublic boolean test(IterationState is)
Predicatetest in interface Predicate<IterationState>is - the object being tested.