¡@

Home 

java Programming Glossary: getthatcollection

What is the difference between bounded wildcard and type parameters?

http://stackoverflow.com/questions/1750273/what-is-the-difference-between-bounded-wildcard-and-type-parameters

there a difference between N extends Number Collection N getThatCollection Class N type and Collection extends Number getThatCollection.. Class N type and Collection extends Number getThatCollection Class extends Number java generics type parameter bounded wildcard.. when using the first declaration Collection Integer c1 getThatCollection Integer.class Collection Double c2 getThatCollection Double.class..