Package org.hipparchus.util
Interface Incrementor.MaxCountExceededCallback
-
- Enclosing class:
- Incrementor
public static interface Incrementor.MaxCountExceededCallbackDefines a method to be called at counter exhaustion. Thetriggermethod should usually throw an exception.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidtrigger(int maximalCount)Function called when the maximal count has been reached.
-
-
-
Method Detail
-
trigger
void trigger(int maximalCount) throws MathIllegalStateExceptionFunction called when the maximal count has been reached.- Parameters:
maximalCount- Maximal count.- Throws:
MathIllegalStateException- at counter exhaustion
-
-