Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #34283
| X-Received | by 10.107.131.225 with SMTP id n94mr4461790ioi.3.1463002386840; Wed, 11 May 2016 14:33:06 -0700 (PDT) |
|---|---|
| X-Received | by 10.157.13.119 with SMTP id 110mr82479oti.17.1463002386775; Wed, 11 May 2016 14:33:06 -0700 (PDT) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.glorb.com!i5no7732160ige.0!news-out.google.com!z2ni597itc.0!nntp.google.com!i5no7732152ige.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Wed, 11 May 2016 14:33:06 -0700 (PDT) |
| In-Reply-To | <8760uljcr7.fsf@Equus.decebal.nl> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=130.76.24.7; posting-account=_7xgmwoAAADi7iXKBO-oX5zbCfSzsCV0 |
| NNTP-Posting-Host | 130.76.24.7 |
| References | <87lh3ijg9u.fsf@Equus.decebal.nl> <ngt1mp$a3t$1@gwaiyur.mb-net.net> <87a8jxk3r2.fsf@Equus.decebal.nl> <ngttab$rer$1@dont-email.me> <8760uljcr7.fsf@Equus.decebal.nl> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <d9ec04bf-e5f1-40ae-91db-63c6319feba3@googlegroups.com> (permalink) |
| Subject | Re: Working with an array of TreeSet |
| From | FredK <fred.l.kleinschmidt@gmail.com> |
| Injection-Date | Wed, 11 May 2016 21:33:06 +0000 |
| Content-Type | text/plain; charset=UTF-8 |
| Xref | csiph.com comp.lang.java.programmer:34283 |
Show key headers only | View raw
On Wednesday, May 11, 2016 at 12:13:59 AM UTC-7, Cecil Westerhof wrote:
>I would like to have an array of TreeSet<Integer>. But that is not
>possible in Java.
Why do you say it is not possible? This works fine for me:
TreeSet<Integer>[] tsia = new TreeSet[5];
for (int i = 0; i < tsia.length; i++) {
tsia[i] = new TreeSet<Integer>();
}
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 13:37 +0200
Re: Working with an array of TreeSet Eric Douglas <e.d.programmer@gmail.com> - 2016-05-10 04:52 -0700
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 15:07 +0200
Re: Working with an array of TreeSet Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-10 08:03 -0400
Re: Working with an array of TreeSet Marcel Mueller <news.5.maazl@spamgourmet.org> - 2016-05-10 18:19 +0200
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-10 23:22 +0200
Re: Working with an array of TreeSet Eric Sosman <esosman@comcast-dot-net.invalid> - 2016-05-10 20:14 -0400
Re: Working with an array of TreeSet Cecil Westerhof <Cecil@decebal.nl> - 2016-05-11 09:05 +0200
Re: Working with an array of TreeSet FredK <fred.l.kleinschmidt@gmail.com> - 2016-05-11 14:33 -0700
Re: Working with an array of TreeSet Lew <lewbloch@gmail.com> - 2016-05-11 14:45 -0700
csiph-web