Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8695

Re: What Does it Mean to Pass a Generic Class Itself as a Parameter?

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: What Does it Mean to Pass a Generic Class Itself as a Parameter?
Date 2011-10-11 02:08 -0400
Organization A noiseless patient Spider
Message-ID <j70mef$rkj$1@dont-email.me> (permalink)
References <c534ac30-345e-4467-ba44-5d719d8c22ca@6g2000prh.googlegroups.com>

Show all headers | View raw


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<T extends Foo> might not produce fubar.
    */

  }

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

What Does it Mean to Pass a Generic Class Itself as a Parameter? KevinSimonson <kvnsmnsn@hotmail.com> - 2011-10-10 08:01 -0700
  Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Jeff Higgins <jeff@invalid.invalid> - 2011-10-10 12:11 -0400
    Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Jeff Higgins <jeff@invalid.invalid> - 2011-10-10 12:56 -0400
  Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? markspace <-@.> - 2011-10-10 09:12 -0700
    Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Patricia Shanahan <pats@acm.org> - 2011-10-10 09:31 -0700
      Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Lew <lewbloch@gmail.com> - 2011-10-10 12:12 -0700
        Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-10 13:32 -0700
          Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Jeff Higgins <jeff@invalid.invalid> - 2011-10-10 16:40 -0400
          Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Lew <lewbloch@gmail.com> - 2011-10-10 14:29 -0700
  Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Screamin Lord Byron <scre@min.dot> - 2011-10-10 19:07 +0200
  Re: What Does it Mean to Pass a Generic Class Itself as a Parameter? Jeff Higgins <jeff@invalid.invalid> - 2011-10-11 02:08 -0400

csiph-web