public class ComposableIterationListener extends java.lang.Object implements IterationListener
Constructor and Description |
---|
ComposableIterationListener(java.util.Collection<IterationListener> listeners) |
ComposableIterationListener(IterationListener... iterationListener) |
Modifier and Type | Method and Description |
---|---|
void |
invoke()
Change invoke to true
|
boolean |
invoked()
Get if listener invoked
|
void |
iterationDone(Model model,
int iteration)
Event listener for each iteration
|
public ComposableIterationListener(IterationListener... iterationListener)
public ComposableIterationListener(java.util.Collection<IterationListener> listeners)
public boolean invoked()
IterationListener
invoked
in interface IterationListener
public void invoke()
IterationListener
invoke
in interface IterationListener
public void iterationDone(Model model, int iteration)
IterationListener
iterationDone
in interface IterationListener
model
- the model iteratingiteration
- the iteration