J
JKV
I have a question on the use of the Observable class and the notifyObservers
method. I wonder what the contract is. If the method returns, can you rely
on the fact that all update methods of the observers ran completely? Or is
this not guaranteed?
From the Java API doc I understood that the update methods can run on
different threads, depending on the implementation of the actual
notifyObservers method. Is that a correct understanding?
Thanks,
Jan
method. I wonder what the contract is. If the method returns, can you rely
on the fact that all update methods of the observers ran completely? Or is
this not guaranteed?
From the Java API doc I understood that the update methods can run on
different threads, depending on the implementation of the actual
notifyObservers method. Is that a correct understanding?
Thanks,
Jan