Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

This is wrong right?

 
Amit Batra
Ranch Hand
Posts: 361
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The dave Allen notes has a bullet point in the generics section:

<T super Dog> not <? super Dog>

But Ive only been able to compile ? in conjunction with super. so T with super doesnt work. true?
 
Surendra Kumar
Ranch Hand
Posts: 236
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give your code snippent so that we can know what exactly you are trying.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic