Intelligent children pattern

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Ebybymic (Talk); changed back to last version by BenMcDonald)
 
Line 1: Line 1:
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://imygijesusy.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
----
 
=[http://imygijesusy.co.cc CLICK HERE]=
 
----
 
</div>
 
 
This idea is similar to the [[Defer identification of state variables pattern]].
 
This idea is similar to the [[Defer identification of state variables pattern]].
  

Latest revision as of 03:10, 25 November 2010

This idea is similar to the Defer identification of state variables pattern.

Basically it states that the children of a Parallel hierarchies problem should know about the corresponding children of the other heirarchy.

Intelegent Children.jpg



Abstract Accessors

An abstract accessor can be used to access the Operator from an object that is only know to be a Vehicle. This lets your Vehicle object have a contract about containing an Operator. This is know as the Defer identification of state variables pattern.

ICP - Abstract Accessor.png

Language Notes

J2SE5.0 and above allows covariant return types in overridden methods if the object returned is a subclass of the type returned by the method with the same signature in the superclass.

C++ does not allow any overridden methods with covariant return types


See also

Personal tools