Пример #1
0
 public int compare(Topic t1, Topic t2) {
   return ObjectUtils.compare(t1.getId(), t2.getId());
 }
Пример #2
0
 public String getName() {
   return topic.getName();
 }