Skip to content
Advertisement

Tag: observer-pattern

Observer – specifying modifications of interest explicitly – JAVA implementation

I asked here how I should handle the situation when I need to inform observers only when specific attribute of object changes. I received very nice reply with reference to GoF where is written: Blockquote Specifying modifications of interest explicitly. You can improve update efficiency by extending the subject’s registration interface to allow registering observers only for specific events of

Advertisement