Hi,
I just need a helper method for cloning an object. I vaguely remembered
that a while ago there was discussion about this topic. I found this
link [1].
Has there anything been done in this area yet?
Thanks.
Oliver
[1]
I generally like small classes with few methods, but a significant exception
to that is utility classes. In this case I prefer the kind of thing we've
done with StringUtils. That way, when there is string manipulation to be
done, I know exactly where to go to look, without having to drag out
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 6:27 AM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
I generally like small classes with few methods, but a significant exception
to that is utility classes. In this case I prefer the kind of thing we've
done
I like the idea of multiple methods with nice names. I'm not averse to a
CloneUtils class (it could be argued that StringUtils is too big as one
class, or that it is most convenient as one class...) Perhaps others can
comment on the location of the new methods.
Stephen
Kevin Gessner wrote:
[mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got code for cloning serializable objects
that I'd be happy to
contribute to the project. Let me know if you'd
like
that?
-Original Message-
From: Shaun Kalley
[mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got code for cloning serializable objects
that I'd be happy
-
From: Kyle Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 2:20 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
I would think that cloning would go into BeanUtils,
which already has some cloning methods. If BeanUtils
already has cloning code, and so does
that restriction. It only requires that the object be serializable. I
think this code is general enough to live in Commons Lang.
-Original Message-
From: Kyle Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 2:20 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
I
: Kyle Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, June 06, 2005 2:20 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
I would think that cloning would go into BeanUtils,
which already has some cloning methods. If BeanUtils
already has cloning code, and so does
:
SerializationUtils already has a clone() method. Is your code different
from that?
-Original Message-
From: Shaun Kalley [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got
Carman wrote:
SerializationUtils already has a clone() method. Is your code different
from that?
-Original Message-
From: Shaun Kalley [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi
Hello all,
In the interest of jumping feet first into commons-lang, I'm hoping to
start work on CloneUtils (from the tasks list). Before I start any
serious design/coding, I'd like to ask for any suggestions as to
features of the class (assuming, of course, that no one has anything
completed
Hi, Kevin and everyone,
I've got code for cloning serializable objects that I'd be happy to
contribute to the project. Let me know if you'd like it as a starting
point.
Thanks,
Shaun Kalley
Kevin Gessner wrote:
Hello all,
In the interest of jumping feet first into commons-lang, I'm
SerializationUtils already has a clone() method. Is your code different
from that?
-Original Message-
From: Shaun Kalley [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got
, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got code for cloning serializable objects that I'd be happy to
contribute to the project. Let me know if you'd like it as a starting
point.
Thanks,
Shaun Kalley
Kevin
:[EMAIL PROTECTED]
Sent: Saturday, June 04, 2005 4:31 PM
To: Jakarta Commons Developers List
Subject: Re: [lang] CloneUtils
Hi, Kevin and everyone,
I've got code for cloning serializable objects that I'd be happy to
contribute to the project. Let me know if you'd like it as a starting
point
16 matches
Mail list logo