Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Jeff Higgins Newsgroups: comp.lang.java.programmer Subject: Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Date: Tue, 11 Oct 2011 02:08:24 -0400 Organization: A noiseless patient Spider Lines: 20 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 11 Oct 2011 06:07:11 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="Z+UYWCPnTu4kxHsUACWmFQ"; logging-data="28307"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GQhcTuGyWRDLCASmquVBgWPaRCEwYIoU=" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11 In-Reply-To: Cancel-Lock: sha1:KTesqarbqsvPvWgAccB7+SmVjfc= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8695 On 10/10/2011 11:01 AM, KevinSimonson wrote: also public class Foo< T extends Foo> { public Foo () {} public static void main ( String[] arguments) { Foo< Foo> bar = new Foo< Foo>(); } /* Depending upon what you have between these curly braces mixing the raw type Foo with the parameterized type Foo might not produce fubar. */ }