Save India From Corruption - Anna Hazare.
Causes the current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Mike Peters
Now, in the code you posted, which thread invokes notify()?