Java之List排序出错
时间:2014-03-18 09:20:32
收藏:0
阅读:654
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>>
原文:http://blog.csdn.net/you23hai45/article/details/21413969
评论(0)