This content has been marked as final. Show 3 replies
add another level of indirection. instead of every class holding "a" directly, have a Holder class which holds the reference to "a" (and all the other classes have a reference to the Holder). then, when you update the holder, all the other objects will immediately see the new value.
Dozen might be the answer. I need to look into more detail.
Thank you very much for the tip.