Content deleted Content added
m Talk page general fixes & other cleanup using AWB (9335) |
|||
Line 57:
I think the "extends" arrows from both RealSubject and Proxy to Subject interface should be dotted/dashed and not solid. Solid indicates "is a"/generalisation for use in sub-classing of classes or abstract classes, dotted/dashed indicates implementation/realisation of an interface. And note, you can not sub-class an interface. 14:08, 13 April 2012 (UTC) <span style="font-size: smaller;" class="autosigned">— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/78.105.136.120|78.105.136.120]] ([[User talk:78.105.136.120|talk]]) </span><!-- Template:Unsigned IP --> <!--Autosigned by SineBot-->
== The example does not seem to demonstrate this pattern ==
This seems like more of a Lazy Initialization pattern than anything else. If it were a true Proxy, wouldn't the RealImage be defined beforehand and passed to the Proxy? The Proxy shouldn't know the filename or be able to create the RealImage. Or am I missing something?
|