You can also use factories to build complicated objects of only a single class that must be built-in stages, when there are too many parameters to handle conveniently with a constructor. You want to avoid allowing any malformed or partly-formed objects loose out into the universe.
This page is posted |
http://mindprod.com/jgloss/factorymethod.html | |
Optional Replicator mirror
|
J:\mindprod\jgloss\factorymethod.html | |
Please read the feedback from other visitors,
or send your own feedback about the site. Contact Roedy. Please feel free to link to this page without explicit permission. | ||
Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[3.141.32.18] |
| |
Feedback |
You are visitor number | |