This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
This does not make sense to me. Is this a compiler or Eclipse error? I haven't manually compiled Java in so long, I figured it be faster for me to ask than to try and manually invoke the java compiler. I know Eclipse uses its own internal compiler for identifying errors and debugging sessions. I can't figure out why this should not be allowed.
Lets suppose we have two classes: Then our Map could contain Map.Entry<C1, String> and Map.Entry<C2, String>. My guess is that this is not the same Map.Entries, that's why you need to put Set<? extends Map.Entry>.