swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] Create phase in Java Swarm


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] Create phase in Java Swarm
Date: Wed, 09 Nov 2005 15:38:36 -0700
User-agent: Thunderbird 1.0+ (Windows/20050803)

Steve Railsback wrote:

b. Instantiate a *CImpl object, passing it the *Impl object as a parameter, d. Tell the *CImpl object to do createEnd, and it returns an object that conforms to the * protocol (but is an instance of *Impl??)
Right, and the object you get is the one from (b), except that it's been associated with the backing Objective C object.
If the *CImpl class has a "create" method, you can use it to create an object ready to use--if you don't need to do any of the stuff that's in createBegin? Could you instead just instantiate a *Impl object?
This is the main point. Most of the time you won't have to do the fancy phase initialization because there are +create: methods (in Objective C speak) that map to simple parameterized constructors in Java.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]