Class HospitalWard.BedObserver

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BedObserver()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void update​(java.lang.Object arg0, java.lang.Object arg1)
      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

      • BedObserver

        protected BedObserver()
    • Method Detail

      • update

        public void update​(java.lang.Object arg0,
                           java.lang.Object arg1)
        Description copied from interface: ObserverIfc
        This method is called when the observable needs observing
        Specified by:
        update in interface ObserverIfc
        Parameters:
        arg0 - the thing observed
        arg1 - an object of info