How to retrieve the paremeterized type of a generic class ?
0 posts in topic
Flat View  Flat View

Posted By:   David_Alvarez
Posted On:   Friday, June 10, 2005 08:21 AM

Defining an object (e.g. collection) as :

Collection object = new ArrayList ();

We use this instance to call later the following method :

doSomething(Collection collection)


How to get the class 'Date' from collection here ?


About | Sitemap | Contact