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 protectedBedObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate(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:ObserverIfcThis method is called when the observable needs observing- Specified by:
updatein interfaceObserverIfc- Parameters:
arg0- the thing observedarg1- an object of info
-
-