Class TopicMapReferenceComparator
- java.lang.Object
-
- net.ontopia.topicmaps.nav.utils.comparators.TopicMapReferenceComparator
-
- All Implemented Interfaces:
Comparator<TopicMapReferenceIF>
public class TopicMapReferenceComparator extends Object implements Comparator<TopicMapReferenceIF>
INTERNAL: A Comparator for ordering TopicMapReferences lexically. It compares the titles of references case-insensitively.
-
-
Constructor Summary
Constructors Constructor Description TopicMapReferenceComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(TopicMapReferenceIF tmr1, TopicMapReferenceIF tmr2)
INTERNAL: Compares two TopicMapReferenceIFs.-
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(TopicMapReferenceIF tmr1, TopicMapReferenceIF tmr2)
INTERNAL: Compares two TopicMapReferenceIFs.- Specified by:
compare
in interfaceComparator<TopicMapReferenceIF>
-
-