public static <T extends Comparable<? super T>> Comparator reverseOrder()
Hi there,
reverseOrder() returns a comparator object of type T, but what does the bold part of the signature mean? "<T extends Comparable<? super T>>"
Many thanks.
public static <T extends Comparable<? super T>> Comparator reverseOrder()
Hi there,
reverseOrder() returns a comparator object of type T, but what does the bold part of the signature mean? "<T extends Comparable<? super T>>"
Many thanks.