示例#1
0
 public int compareTo(Event event) {
   return -1 * getTime().compareTo(event.getTime());
 }
示例#2
0
 public boolean equals(Event e) {
   return getId() == e.getId();
 }