Need source code w/ lots of generics

Discussion in 'Java' started by Ian Pilcher, Jul 27, 2005.

  1. Ian Pilcher

    Ian Pilcher Guest

    I am working on updating the Java syntax highlighting rules in NEdit
    (http://www.nedit.org) to handle generics, and I need some code to
    really torture it.

    Any pointers to one or two source files that really push generics to
    their limits (multiple types, nesting, extends, super, comments in
    unorthodox places, etc.) would be appreciated.

    Thanks!

    --
    ========================================================================
    Ian Pilcher
    ========================================================================
     
    Ian Pilcher, Jul 27, 2005
    #1
    1. Advertising

  2. Ian Pilcher <> writes:

    > I am working on updating the Java syntax highlighting rules in NEdit
    > (http://www.nedit.org) to handle generics, and I need some code to
    > really torture it.


    I recommend Examples 105 through 139 from my book Java Precisely. You
    can get the example as a jar or zip file from

    http://www.dina.kvl.dk/~sestoft/javaprecisely/

    Especially Examples 138 and 139 should exercise your highlighter, and
    there is a good selection of wildcard examples too.

    Peter Sestoft
     
    Peter Sestoft, Aug 5, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Juergen Berchtel
    Replies:
    1
    Views:
    6,098
    John C. Bollinger
    May 20, 2005
  2. Ian Pilcher

    Need source code w/ lots of generics

    Ian Pilcher, Jul 27, 2005, in forum: Java
    Replies:
    1
    Views:
    336
    Thomas Weidenfeller
    Jul 27, 2005
  3. brad
    Replies:
    9
    Views:
    398
    Bruno Desthuilliers
    Jun 19, 2008
  4. Soul
    Replies:
    0
    Views:
    551
  5. coolneo
    Replies:
    9
    Views:
    223
    coolneo
    Jan 30, 2007
Loading...

Share This Page