I try to implement an interface and in the generic of the interface I extend from Comparable. For some reason this causes the error message to appear, but I don\'t know why.