摘要: 整出源代码,对应目录以及 阅读全文
posted @ 2013-11-29 18:02 SongPingping 阅读(490) 评论(0) 推荐(0) 编辑
摘要: 1 package com.spp.testComparator; 2 3 import java.util.Comparator; 4 5 public class MyComparator implements Comparator { 6 7 @Override 8 public int compare(Object o1, Object o2) { 9 if(null==o1||null==o2){10 return -1;11 }12 User u1=(User) o1;13 ... 阅读全文
posted @ 2013-11-29 14:48 SongPingping 阅读(298) 评论(0) 推荐(0) 编辑