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