首页 > 编程语言 > 详细

Java之List排序出错

时间:2014-03-18 09:20:32      阅读:654      评论:0      收藏:0      [点我收藏+]

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

Java之List排序出错

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!