Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Cecil Westerhof Newsgroups: comp.lang.java.programmer Subject: Re: Working with an array of TreeSet Date: Tue, 10 May 2016 15:07:38 +0200 Organization: Decebal Computing Lines: 14 Message-ID: <87h9e6jc2t.fsf@Equus.decebal.nl> References: <87lh3ijg9u.fsf@Equus.decebal.nl> <6e5958c6-b55b-4a9f-9b11-1b9bb2b9db8f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="12baf5125b19322b899c79c2e3878015"; logging-data="9219"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OlF+feO8wFYUF83un4X0LBb4BqJb4qa8=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Homepage: http://www.decebal.nl/ Cancel-Lock: sha1:LwSTKpJzXg4pbYJ7LL+HiylhJl8= sha1:/yLeO4ULu3TtFS8UIESDsIlxStE= Xref: csiph.com comp.lang.java.programmer:34276 On Tuesday 10 May 2016 13:52 CEST, Eric Douglas wrote: > On Tuesday, May 10, 2016 at 7:43:59 AM UTC-4, Cecil Westerhof wrote: >> I would like to have an array of TreeSet. But that is not >> possible in Java. > > Why not just put them in ArrayList? You are right, that is much cleaner. Thanks. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof