<?>并且
<? extends Object>是同义的,正如你所期望的。
在某些情况下,泛型
extends Object实际上并不是多余的。例如,
<T extends Object & Foo>将导致
T成为
Object下删除,而与
<T extends Foo>它会成为
Foo下删除。(如果你要保留与使用的前泛型API的兼容性,这可能很重要
Object。)
来源:http : //download.oracle.com/javase/tutorial/extra/generics/convert.html ; 它说明了为什么JDK的
java.util.Collections类具有带有此签名的方法:
public static <T extends Object & Comparable<? super T>> T max( Collection<? extends T> coll)



