void (EKey curKey, Solver solver) { ProgressManager.checkCanceled(); for (Equations equations : myEquationProvider.getEquations(curKey.member)) { Result result = equations.find(curKey.getDirection()).orElseGet(solver::getUnknownResult); solver.addEquation(new Equation(withStability(curKey, equations.stable), result)); } }