public int compare(Topic t1, Topic t2) {
   return ObjectUtils.compare(t1.getId(), t2.getId());
 }
Exemple #2
0
 public String getName() {
   return topic.getName();
 }