Package jsl.observers

Class 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
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 interface ObserverIfc
        Parameters:
        observable - the thing observed
        obj - an object of info