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 boolean
myRepUpdateFlag
-
Constructor Summary
Constructors Constructor Description ExperimentConsoleObserver(boolean repUpdateFlag)
ExperimentConsoleObserver(Simulation sim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getReplicationOutputFlag()
void
setReplicationOutputFlag(boolean flag)
void
update(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:ObserverIfc
This method is called when the observable needs observing- Specified by:
update
in interfaceObserverIfc
- Parameters:
simulation
- the thing observedarg1
- an object of info
-
-