Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Converting Sets Date: Fri, 3 Feb 2012 22:33:06 -0800 (PST) Organization: http://groups.google.com Lines: 10 Message-ID: <16256542.1253.1328337186698.JavaMail.geo-discussion-forums@prie27> References: <11fki7dcr12je80bqi6q7ml6f0tc78965a@4ax.com> <4f2a767d$0$449$426a34cc@news.free.fr> <4f2aa4fe$0$6897$426a74cc@news.free.fr> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 173.164.137.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1328337307 31009 127.0.0.1 (4 Feb 2012 06:35:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 4 Feb 2012 06:35:07 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:11773 markspace wrote: > I think is the above is the gist of how EJ handles it. Add a type token > (the "type" variable) and test for types as they are added. If you want > generics too, add them in: If you're using Java 5 or later, you not only want generics, you must use them where the type is generic. Per EJ. -- Lew