File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes Generics and Dynamic instantiation problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Generics and Dynamic instantiation problem" Watch "Generics and Dynamic instantiation problem" New topic
Author

Generics and Dynamic instantiation problem

marcos mm
Greenhorn

Joined: Mar 04, 2011
Posts: 1
Can anyone help me to fix the code in the Main so that is works as intended?
Gurus will know what I'm after.
TIA

Please see below:



// this method returns an instance of
// one of the child classes: MyElementA, MyElementB, MyElementC, etc...



// this method returns a specific mapper based on the element


// Main

// end-Main
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generics and Dynamic instantiation problem
 
Similar Threads
instanceof operator question?
instanceOf
instanceof
instanceof