blog.scottlogic.com/2025/02/17/variance-in-java-and-scala.html
Preview meta tags from the blog.scottlogic.com website.
Linked Hostnames
7- 21 links toblog.scottlogic.com
- 13 links towww.scottlogic.com
- 1 link tobsky.app
- 1 link tocreativecommons.org
- 1 link towww.bcorporation.net
- 1 link towww.linkedin.com
- 1 link towww.youtube.com
Thumbnail

Search Engine Appearance
Variance in Generics, Phantom and Existential types with Java and Scala
In this post we look at Variance in Generics and how it is handled in Java and Scala. We consider use-site and declaration-site approaches and the trade offs of erasure. Finally we take a look at Phantom and Existential types and how they can enhance the capabilities of the type system when it comes to modelling.
Bing
Variance in Generics, Phantom and Existential types with Java and Scala
In this post we look at Variance in Generics and how it is handled in Java and Scala. We consider use-site and declaration-site approaches and the trade offs of erasure. Finally we take a look at Phantom and Existential types and how they can enhance the capabilities of the type system when it comes to modelling.
DuckDuckGo
Variance in Generics, Phantom and Existential types with Java and Scala
In this post we look at Variance in Generics and how it is handled in Java and Scala. We consider use-site and declaration-site approaches and the trade offs of erasure. Finally we take a look at Phantom and Existential types and how they can enhance the capabilities of the type system when it comes to modelling.
General Meta Tags
5- titleVariance in Generics, Phantom and Existential types with Java and Scala
- charsetutf-8
- descriptionIn this post we look at Variance in Generics and how it is handled in Java and Scala. We consider use-site and declaration-site approaches and the trade offs of erasure. Finally we take a look at Phantom and Existential types and how they can enhance the capabilities of the type system when it comes to modelling.
- viewportwidth=device-width, initial-scale=1.0
- keywordsJava, Scala
Open Graph Meta Tags
6- og:titleVariance in Generics, Phantom and Existential types with Java and Scala
- og:descriptionIn this post we look at Variance in Generics and how it is handled in Java and Scala. We consider use-site and declaration-site approaches and the trade offs of erasure. Finally we take a look at Phantom and Existential types and how they can enhance the capabilities of the type system when it comes to modelling.
- og:imagehttps://blog.scottlogic.com/magnussmith/assets/java.jpg
- og:typearticle
- og:site_nameScott Logic
Twitter Meta Tags
4- twitter:cardsummary_large_image
- twitter:site@Scott_Logic
- twitter:imagehttps://blog.scottlogic.com/magnussmith/assets/java.jpg
- twitter:creator@
Link Tags
6- alternatehttps://blog.scottlogic.com/atom.xml
- alternatehttps://blog.scottlogic.com/feed.xml
- canonicalhttps://blog.scottlogic.com/2025/02/17/variance-in-java-and-scala.html
- canonicalhttps://blog.scottlogic.com/2025/02/17/variance-in-java-and-scala.html
- iconhttps://blog.scottlogic.com/favicon.ico
Links
39- https://blog.scottlogic.com
- https://blog.scottlogic.com/2025/01/20/algebraic-data-types-with-java.html
- https://blog.scottlogic.com/2025/03/05/intersection-and-union-types-with-java-and-scala.html
- https://blog.scottlogic.com/2025/03/31/functors-monads-with-java-and-scala.html
- https://blog.scottlogic.com/2025/04/11/higher-kinded-types-with-java-and-scala.html