Interface IntegerSequence.Incrementor.MaxCountExceededCallback

  • Enclosing class:
    IntegerSequence.Incrementor

    public static interface IntegerSequence.Incrementor.MaxCountExceededCallback
    Defines a method to be called at counter exhaustion. The trigger method should usually throw an exception.
    • Method Summary

      Modifier and Type Method Description
      void trigger​(int maximalCount)
      Function called when the maximal count has been reached.