Class TopicNameComparator
- java.lang.Object
-
- net.ontopia.topicmaps.nav.utils.comparators.TopicNameComparator
-
- All Implemented Interfaces:
Comparator<TopicNameIF>
public class TopicNameComparator extends Object implements Comparator<TopicNameIF>
INTERNAL: A Comparator for ordering TopicNameIFs alphabetically (case-independent).
-
-
Constructor Summary
Constructors Constructor Description TopicNameComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(TopicNameIF o1, TopicNameIF o2)
Compares two TopicNameIFs.-
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
-
-
-
-
Method Detail
-
compare
public int compare(TopicNameIF o1, TopicNameIF o2)
Compares two TopicNameIFs.- Specified by:
compare
in interfaceComparator<TopicNameIF>
-
-