Package com.bank.app
Class SimulationUI.ResearchWorker
- All Implemented Interfaces:
Runnable,Future<Void>,RunnableFuture<Void>
- Enclosing class:
SimulationUI
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.SwingWorker
SwingWorker.StateValueNested classes/interfaces inherited from interface java.util.concurrent.Future
Future.State -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionResearchWorker(String param, double start, double end, double step, int runs) -
Method Summary
Modifier and TypeMethodDescriptionprotected Voidprotected voiddone()private voidprivate ConfigurationmodifyConfig(Configuration base, String param, double val) protected voidprocess(List<SimulationUI.ResearchPoint> chunks) Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.Future
exceptionNow, resultNow, state
-
Field Details
-
param
-
start
private final double start -
end
private final double end -
step
private final double step -
runs
private final int runs
-
-
Constructor Details
-
ResearchWorker
-
-
Method Details
-
doInBackground
- Specified by:
doInBackgroundin classSwingWorker<Void,SimulationUI.ResearchPoint>
-
process
- Overrides:
processin classSwingWorker<Void,SimulationUI.ResearchPoint>
-
done
protected void done()- Overrides:
donein classSwingWorker<Void,SimulationUI.ResearchPoint>
-
modifyConfig
-
log
-