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>>

Java之List排序出错,布布扣,bubuko.com

原文:http://blog.csdn.net/you23hai45/article/details/21413969

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!