Package examples.queueing
Class HospitalWard.BedObserver
- java.lang.Object
-
- examples.queueing.HospitalWard.BedObserver
-
- All Implemented Interfaces:
ObserverIfc
- Enclosing class:
- HospitalWard
protected class HospitalWard.BedObserver extends java.lang.Object implements ObserverIfc
-
-
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
-
-
-
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 interfaceObserverIfc
- Parameters:
arg0
- the thing observedarg1
- an object of info
-
-