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>>
2022-03-05 05:00:11
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>>