Package ontopoly.utils
Class TopicIdComparator
- java.lang.Object
-
- ontopoly.utils.TopicIdComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<Topic>
public class TopicIdComparator extends Object implements Comparator<Topic>, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static TopicIdComparator
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Topic t1, Topic t2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
INSTANCE
public static final TopicIdComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(Topic t1, Topic t2)
- Specified by:
compare
in interfaceComparator<Topic>
-
-