Package jsl.observers
Class ExperimentConsoleObserver
- java.lang.Object
-
- jsl.observers.ExperimentConsoleObserver
-
- All Implemented Interfaces:
ObserverIfc
public class ExperimentConsoleObserver extends java.lang.Object implements ObserverIfc
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanmyRepUpdateFlag
-
Constructor Summary
Constructors Constructor Description ExperimentConsoleObserver(boolean repUpdateFlag)ExperimentConsoleObserver(Simulation sim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetReplicationOutputFlag()voidsetReplicationOutputFlag(boolean flag)voidupdate(java.lang.Object simulation, java.lang.Object arg1)This method is called when the observable needs observing
-
-
-
Constructor Detail
-
ExperimentConsoleObserver
public ExperimentConsoleObserver(Simulation sim)
-
ExperimentConsoleObserver
public ExperimentConsoleObserver(boolean repUpdateFlag)
- Parameters:
repUpdateFlag-
-
-
Method Detail
-
setReplicationOutputFlag
public final void setReplicationOutputFlag(boolean flag)
-
getReplicationOutputFlag
public final boolean getReplicationOutputFlag()
-
update
public void update(java.lang.Object simulation, java.lang.Object arg1)Description copied from interface:ObserverIfcThis method is called when the observable needs observing- Specified by:
updatein interfaceObserverIfc- Parameters:
simulation- the thing observedarg1- an object of info
-
-