I have implemented my own Map called AVLTreeMap. Here is the class signature.
public class AVLTreeMap, V>
Your generic signature for a Comparable is a little off, this
Comparable
public class AVLTreeMap<K extends Comparable<K>, V>
Should be something like
public class AVLTreeMap<K extends Comparable<? super K>, V>