Class TopicMapReferenceComparator
java.lang.Object
net.ontopia.topicmaps.nav.utils.comparators.TopicMapReferenceComparator
- All Implemented Interfaces:
Comparator<TopicMapReferenceIF>
INTERNAL: A Comparator for ordering TopicMapReferences lexically. It
compares the titles of references case-insensitively.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompare(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, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TopicMapReferenceComparator
public TopicMapReferenceComparator()
-
-
Method Details
-
compare
INTERNAL: Compares two TopicMapReferenceIFs.- Specified by:
comparein interfaceComparator<TopicMapReferenceIF>
-