Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28419
| From | leif.roar@invalid.com (Leif Roar Moldskred) |
|---|---|
| Subject | Re: String[] , Arrays.asList , Collections.unmodifiableList |
| Newsgroups | comp.lang.java.programmer |
| References | <bslom95b4j4s6eh4m5lfj6d3mq49uitlb3@4ax.com> <yemdncGlQ7bm8vHOnZ2dnUVZ8vSdnZ2d@giganews.com> <8a0qm9dovj2i2pn1ltfvt0cd8gitlpapbv@4ax.com> |
| Message-ID | <epudnWADadqvifDOnZ2dnUVZ8mqdnZ2d@giganews.com> (permalink) |
| Date | 2014-05-09 12:45 -0500 |
Roedy Green <see_website@mindprod.com.invalid> wrote: > > I will add your idea to http://mindprod.com/arraylist.html#ARRAYASLIST > Please don't. The issue I tried to explain isn't _about_ arrays and lists. The main point is that you shouldn't let access to your private state leak out. This is a concern for _any_ mutable object that makes up part of your internal state, not just arrays. -- Leif Roar Moldskred
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
String[] , Arrays.asList , Collections.unmodifiableList Roedy Green <see_website@mindprod.com.invalid> - 2014-05-08 21:30 -0700
Re: String[] , Arrays.asList , Collections.unmodifiableList leif.roar@invalid.com (Leif Roar Moldskred) - 2014-05-09 01:02 -0500
Re: String[] , Arrays.asList , Collections.unmodifiableList Roedy Green <see_website@mindprod.com.invalid> - 2014-05-09 09:25 -0700
Re: String[] , Arrays.asList , Collections.unmodifiableList leif.roar@invalid.com (Leif Roar Moldskred) - 2014-05-09 12:45 -0500
Re: String[] , Arrays.asList , Collections.unmodifiableList Stanimir Stamenkov <s7an10@netscape.net> - 2014-05-11 00:09 +0300
csiph-web