Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4856545

add variance to the generic type system

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2
    • tools
    • None
    • x86
    • windows_2000

      We propose to add covariant and contravariant type parameters to the
      generics type system, as described and implemented in the JSR14 prototype 2.0

      http://developer.java.sun.com/developer/earlyAccess/adding_generics/index.html

      and as described on the Variance Generic Java home page

      http://www.daimi.au.dk/~plesner/variance/

      This closes the last known remaining hole in the generic type system and
      adds significantly to the expressive power of generics.

      ###@###.### 2003-05-28

            gafter Neal Gafter (Inactive)
            ghamiltosunw Graham Hamilton (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: