Package jsl.observers
Class ReplicationConsoleObserver
- java.lang.Object
-
- jsl.observers.ReplicationConsoleObserver
-
- All Implemented Interfaces:
ObserverIfc
public class ReplicationConsoleObserver extends java.lang.Object implements ObserverIfc
Can be attached to a Simulation to have updates to System.out during replications
-
-
Constructor Summary
Constructors Constructor Description ReplicationConsoleObserver(Simulation sim)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
update(java.lang.Object observable, java.lang.Object obj)
This method is called when the observable needs observing
-
-
-
Constructor Detail
-
ReplicationConsoleObserver
public ReplicationConsoleObserver(Simulation sim)
-
-
Method Detail
-
update
public void update(java.lang.Object observable, java.lang.Object obj)
Description copied from interface:ObserverIfc
This method is called when the observable needs observing- Specified by:
update
in interfaceObserverIfc
- Parameters:
observable
- the thing observedobj
- an object of info
-
-