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 17: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: Sat Sep 20 01:57:27 GMT 2014

Powered by FUDForum. Page generated in 0.02250 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software