Aleksandar Trposkiinomni:usWildcards in Java generics (Part 3/3)Contravariance: Why is Consumer<Animal> a subtype of Consumer<Cat>?Nov 28, 2018Nov 28, 2018
Aleksandar Trposkiinomni:usCovariance in Java return types (Part 2/3)This post is the second part of a 3-part series. If you are not familiar with the term covariance, check out this article, which is the…Oct 11, 2018Oct 11, 2018
Aleksandar Trposkiinomni:usWildcards in Java generics (Part 1/3)Covariance: Why List<Cat> is not assignable to List<Animal>?Sep 11, 20184Sep 11, 20184