public class TopicIdComparator extends Object implements Comparator<Topic>, Serializable
Modifier and Type | Field and Description |
---|---|
static TopicIdComparator |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(Topic t1,
Topic t2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final TopicIdComparator INSTANCE
public int compare(Topic t1, Topic t2)
compare
in interface Comparator<Topic>