Java’s type parameter’s and wildcard’s (lack of) equivalence

Yet another post based on an interesting question I have encountered on StackOverflow quite a while ago. But let us start with a slightly different thing. Once upon a time there was a question: what is the difference between ? extends Sometype and T extends Sometype? For example: <? extends Number> and <T extends Number>Continue reading “Java’s type parameter’s and wildcard’s (lack of) equivalence”

Create your website with WordPress.com
Get started