aspose file tools*
The moose likes Blog around the Campfire and the fly likes The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Blog around the Campfire
Bookmark "The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism" Watch "The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism" New topic
Author

The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism

Lukas Eder
Ranch Hand

Joined: Jul 22, 2013
Posts: 41
    
    4

The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism

Java 5 has introduced generic polymorphism to the Java ecosystem. This has been a great addition to the Java language, even if we’re all aware of the numerous caveats due to generic type erasure and the consequences thereof. Generic polymorphism (also known as parametric polymorphism) is usually maintained orthogonally to possibly pre-existing subtype polymorphism.

In this rather technical article, I have explained why it is difficult to correlate subtype polymorphism with generic polymorphism within the same type hierarchy.


When Java and SQL work together, great software can evolve. That's why I have created jOOQ. Follow me on blog.jooq.org
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism