Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11430

Re: cloning

Date 2012-01-17 17:37 -0500
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: cloning
References <36a0318f-278e-4f92-8a50-b804b3d7c8f7@k28g2000yqn.googlegroups.com> <ogdbh755d1bpf9qn942mruufhilrep0bot@4ax.com>
Message-ID <4f15f82a$0$293$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source

Show all headers | View raw


On 1/17/2012 12:55 PM, Roedy Green wrote:
> On Mon, 16 Jan 2012 10:27:27 -0800 (PST), albert kao
> <albertkao3@gmail.com>  wrote, quoted or indirectly quoted someone who
> said :
>
>> I want to clone the following class so is the following code ok?
> see http://mindprod.com/jgloss/clone.html

Not doing anything about the mutable fields is not what Java Doc
recommends.

And I not keen on the conversion of CloneNotSupportedException to
a null return either.

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

cloning albert kao <albertkao3@gmail.com> - 2012-01-16 10:27 -0800
  Re: cloning Arne Vajhøj <arne@vajhoej.dk> - 2012-01-16 15:29 -0500
    Re: cloning Lew <noone@lewscanon.com> - 2012-01-16 13:47 -0800
      Re: cloning Arne Vajhøj <arne@vajhoej.dk> - 2012-01-16 16:52 -0500
        Re: cloning Lew <noone@lewscanon.com> - 2012-01-16 14:04 -0800
          Re: cloning Arne Vajhøj <arne@vajhoej.dk> - 2012-01-16 17:14 -0500
  Re: cloning Lew <noone@lewscanon.com> - 2012-01-16 14:03 -0800
  Re: cloning Roedy Green <see_website@mindprod.com.invalid> - 2012-01-17 09:55 -0800
    Re: cloning Arne Vajhøj <arne@vajhoej.dk> - 2012-01-17 17:37 -0500

csiph-web