public class TopicComparator extends Object implements Comparator<Topic>, Serializable
Modifier and Type | Field and Description |
---|---|
static TopicComparator |
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 TopicComparator INSTANCE
public int compare(Topic t1, Topic t2)
compare
in interface Comparator<Topic>