I fail to grasp the syntax/concept how to generically extend classes.
example/question 1. In order to retain generics, do I have to use:
MyMap<K,V> extends HashMap<K,V>
? (Why or Why not, please.)
2. How do I extend HashMap to force the value to be of type Set<?> ?
(Let's name this subclass HashMapA.)
3. Suppose I want to extend HashMapA so that its key is an Integer?
TIA
nat