Delegating construction.

R

Roedy Green

I have found a reasonable way to delegate construction housekeeping.

I use a method like this:

createObjectsLikeThisOne ( Token t, parameters... )

Using the JDK 1.5 clone I can return a Token object, then use its
methods to construct more token objects like t.

Granted, I can't use the constructors.

I am still working on this, but I trust that it will also construct
subclasses of Token as well.

--
Bush crime family lost/embezzled $3 trillion from Pentagon.
Complicit Bush-friendly media keeps mum. Rumsfeld confesses on video.
http://www.infowars.com/articles/us/mckinney_grills_rumsfeld.htm

Canadian Mind Products, Roedy Green.
See http://mindprod.com/iraq.html photos of Bush's war crimes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top