@Test public void removeOptimizerIterationListener() { final MockOptimizer optimizer = new MockOptimizer(null, null, null, null, null); OptimizerIterationListener l = (int iteration) -> { }; optimizer.addOptimizerIterationListener(l); optimizer.removeOptimizerIterationListener(l); Assert.assertTrue(optimizer.iterationListeners.isEmpty()); }
@Override public void removeOptimizerIterationListener(OptimizerIterationListener listener) { iterationListeners.remove(listener); }
AbstractOptimizer implements Optimizer { @Override public void removeOptimizerIterationListener(OptimizerIterationListener listener) { iterationListeners.remove(listener); } }
AbstractOptimizer implements Optimizer { @Override public void removeOptimizerIterationListener(OptimizerIterationListener listener) { iterationListeners.remove(listener); } AbstractOptimizer(Population population, Archive archive, IndividualCompleter completer, Control control,
			Iteration iteration); }
AbstractOptimizer implements Optimizer { @Override public void removeOptimizerIterationListener(OptimizerIterationListener listener) { iterationListeners.remove(listener); } AbstractOptimizer(Population population, Archive archive, IndividualCompleter completer, Control control,
			Iteration iteration); @Override int getIteration(); @Override boolean isRunning(); @Override void startOptimization(); @Override void stopOptimization(); @Override void addOptimizerIterationListener(OptimizerIterationListener listener); @Override void addOptimizerStateListener(OptimizerStateListener listener); @Override void removeOptimizerIterationListener(OptimizerIterationListener listener); @Override void removeOptimizerStateListener(OptimizerStateListener listener); }
AbstractOptimizer implements Optimizer { @Override public void removeOptimizerIterationListener(OptimizerIterationListener listener) { iterationListeners.remove(listener); } AbstractOptimizer(Population population, Archive archive, IndividualCompleter completer, Control control,
			Iteration iteration); @Override int getIteration(); @Override boolean isRunning(); @Override void startOptimization(); @Override void stopOptimization(); @Override void addOptimizerIterationListener(OptimizerIterationListener listener); @Override void addOptimizerStateListener(OptimizerStateListener listener); @Override void removeOptimizerIterationListener(OptimizerIterationListener listener); @Override void removeOptimizerStateListener(OptimizerStateListener listener);  }