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


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

toArray().. shallow or deep copies

From Jason S. <nothing@invalid>
Newsgroups comp.lang.java.programmer
Message-ID <2014120801015257172-nothing@invalid> (permalink)
Subject toArray().. shallow or deep copies
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Date 2014-12-08 01:01 -0500

Show all headers | 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