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


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

toArray().. shallow or deep copies

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx23.iad.POSTED!not-for-mail
From Jason S. <nothing@invalid>
Newsgroups comp.lang.java.programmer
Message-ID <2014120801015257172-nothing@invalid> (permalink)
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding 8bit
Subject toArray().. shallow or deep copies
User-Agent Unison/2.1.10
Lines 6
X-Complaints-To abuse(at)newshosting.com
NNTP-Posting-Date Mon, 08 Dec 2014 06:01:53 UTC
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Date Mon, 8 Dec 2014 01:01:52 -0500
X-Received-Bytes 788
X-Received-Body-CRC 1445351910
Xref csiph.com comp.lang.java.programmer:30505

Show key headers only | View raw


Question... when using the toArray() method on a Collection, are the 
references in the array a shallow or deep copy of the objects in the 
Collection?

Thanks

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


Thread

toArray().. shallow or deep copies Jason S. <nothing@invalid> - 2014-12-08 01:01 -0500
  Re: toArray().. shallow or deep copies Amit Sharma <kumaramitsharma92@gmail.com> - 2014-12-08 02:09 -0800
  Re: toArray().. shallow or deep copies Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-12-08 08:04 -0500
  Re: toArray().. shallow or deep copies Arne Vajhøj <arne@vajhoej.dk> - 2014-12-08 20:57 -0500
  Re: toArray().. shallow or deep copies Jason Savlov <email@domain.com> - 2014-12-09 00:36 -0500

csiph-web