2017年1月20日

对集合排序的三种方式

摘要: http://www.cnblogs.com/darrenji/p/4397412.html 以上,OrderBy返回的类型是IEnumerable<Student>。 如果想使用List<T>的Sort方法,就需要让Student实现IComparable<Student>接口。 让Student 阅读全文

posted @ 2017-01-20 11:15 chengjunde 阅读(504) 评论(0) 推荐(0) 编辑

java 集合排序

摘要: http://www.cnblogs.com/standcloud/articles/2601914.html java 集合排序 Java API针对集合类型排序提供了两种支持:java.util.Collections.sort(java.util.List)java.util.Collecti 阅读全文

posted @ 2017-01-20 11:14 chengjunde 阅读(173) 评论(0) 推荐(0) 编辑

导航