Java之List排序出错
Bound mismatch: The generic method sort(List<T>) of type Collections is not applicable for the arguments (List<Student>).
The inferred type Student is not a valid substitute for the bounded parameter <T extends Comparable<? super T>>
Java之List排序出错
Bound mismatch: The generic method sort(List<T>) of type Collections is not applicable for the arguments (List<Student>).
The inferred type Student is not a valid substitute for the bounded parameter <T extends Comparable<? super T>>