java问题again
class rec implements Comparable{ int x,y; public int compareTo(Object o) { return 0; }}
public int compareTo(Object o) { rec t = (rec) o; if (this.x == o.x) { return this.y - o.y; } return this.x - o.x;}