swarm-support
[Top][All Lists]
Advanced

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

java question


From: Myriam Abramson
Subject: java question
Date: 18 Jul 2001 15:45:27 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.3

How do I clone a SwarmObjectImpl object? 

I was trying to have a clone method calling a copy method but then I
see that there is already a clone method with a Zone argument. So how
should I exactly do that? 

Here's what I started doing which is obviously wrong. 

public class Test extends SwarmObjectImpl implements Copy
{
        public Object clone() 
        {
           super.copy(getZone());
        }
        }

Thanks. Sorry if that's already known. 

-- 

                                    myriam

                  ==================================
   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.



reply via email to

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