Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Is it possible to have two types with the same name but different (number) of type arguments?(Can we have: C<A> and C<A,B>)
icon5.gif  Is it possible to have two types with the same name but different (number) of type arguments? [message #643380] Mon, 06 December 2010 12:05
Joan Robert is currently offline Joan Robert
Messages: 16
Registered: December 2010
Junior Member
Hi,

Is it possible to have two types with the same name but different (number) of type arguments?

For instance:

class Foo< A> { }

class Foo< B, D> { }

class Foo { }


Can these three classes co-exist? Or is the qualified name of the type erasure unique?
Previous Topic:Re-executing plug-Ins: Performance Issues
Next Topic:Why JDT does not see my plugins classes?
Goto Forum:
  


Current Time: Thu Jul 24 13:43:48 EDT 2014

Powered by FUDForum. Page generated in 0.05397 seconds