Can someone explain what this does? This is a generics question but since I'm learning in Java I tagged it as Java.
public static <T extends Comparable<? super T>> void quickSort(T[] list) {...}
What I don't understand is this part: <T extends Comparable<? super T>>
I have tried looking at this but it doesn't seem to explain it in a clear way.
My guess is: the genetic type T extends the Comparable interface which itself requires a generic type to be a superclass of a generic type. But I don't really understand this.