This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See Now back to your real question.
Note the difference between the two code snippets here. The second one is the one you want. This says you are implementing an interface that deals with generics. You accidently typed the first one, which would mean that you want to get rid of the type parameter. Therefore in the get method, there is no type parameter.