public class ReplySort implements Comparator<Integer>{ public int compare(Integer o1, Integer o2) {
// TODO Auto-generated method stub
return 0;
}
public static void main(String[] args) {
Comparator<Integer> sort = new ReplySort();
Map<String,Integer> map = new TreeMap<String,Integer>(sort);   //这里编译错误
}}这里为什么有错?谁能解释下。