This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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


Win a copy of Building Microservices this week in the Design forum!
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: 43
    
    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 we have created jOOQ. Follow me on blog.jooq.org
 
Have you checked out Aspose?
 
subject: The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism
 
It's not a secret anymore!