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>>
2023-01-09 21:10:27
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>>