max(Collection<? extends T> coll)
What is the meaning of these constructs <T extends Object & Comparable<? super T>> and Collection<? extends T> coll ? First one I some what understood that it means T extends Object and implements Comparable right? but what is <? super T> and <?entends T>?
T extends Object ? extends T Object <- T <- anyInheritClassOfT
<? super T> means any super class of T right? Object <- someClass <- T?
Обсуждают сегодня