[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Objective-C/Java Translation
From: |
Marcus G. Daniels |
Subject: |
Re: Objective-C/Java Translation |
Date: |
25 Jan 2001 08:37:17 -0800 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "PJ" == Paul E Johnson <address@hidden> writes:
PJ> Just to make sure I understand, is this right: many Impl classes
PJ> have create() methods (constructors) that allow the user to pass
PJ> through all of the arguments that would be needed separate steps
PJ> of the create-phase (CImpl), so no separate use of CImpl is
PJ> necessary.
Yes, but don't confuse create methods with constructors, they are actually
different.
PJ> My followup questions: 1. If one wants to subclass from an Impl
PJ> that has the needed create() method, is it sufficient to write
PJ> just one subclass for MyObjectImpl that extends SwarmImpl ?
Yes, but you'll need to make a constructor that does a "super (aZone)"
because it isn't the default kind of constructor.
PJ> 2. I've never seen the SImpl class used in a Java program. Have
PJ> you?
As I indicated, there is no SImpl.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
Re: Objective-C/Java Translation, Marcus G. Daniels, 2001/01/24