>解决方法

<T extends Comparable<? super T>>
<T extends Comparable<? super T>>
这里的什么意思,限制什么
? super T 有什么用
------解决方案--------------------
? super T 语法将泛型类限制为所有T的超类(包括T自身)
T extends Comparable  T为Comparable的子类
------解决方案--------------------
引用:
(List<? super Apple> apples)
我想问的是? super Apple代表下界
是代表参数可为Apple的超类,还是Apple的子类

super左侧为父,右侧为子,extends相反