net.ontopia.topicmaps.nav.utils.comparators
Class TopicMapReferenceComparator
java.lang.Object
net.ontopia.topicmaps.nav.utils.comparators.TopicMapReferenceComparator
- All Implemented Interfaces:
- Comparator
public class TopicMapReferenceComparator
- extends Object
- implements Comparator
INTERNAL: A Comparator for ordering TopicMapReferences lexically. It
compares the titles of references case-insensitively.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scopes
protected Collection scopes
TopicMapReferenceComparator
public TopicMapReferenceComparator()
- INTERNAL: Creates a reference comparator.
compare
public int compare(Object o1,
Object o2)
- INTERNAL: Compares two TopicMapReferenceIFs.
- Specified by:
compare
in interface Comparator
Copyright © 2000-2012 Ontopia.