Interface OnSolved

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OnSolved
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(boolean isSolved, int duration, SolverStrategy strategy)
    OnSolved callback.
  • Method Details

    • accept

      void accept(boolean isSolved, int duration, SolverStrategy strategy)
      OnSolved callback.
      Parameters:
      isSolved - could the problem be solved?
      duration - solve duration in seconds
      strategy - applied SolverStrategy