net.ontopia.topicmaps.nav.utils.comparators
Class OccTypeComparator
java.lang.Object
net.ontopia.topicmaps.nav.utils.comparators.TopicComparator
net.ontopia.topicmaps.nav.utils.comparators.OccTypeComparator
- All Implemented Interfaces:
- Comparator<TopicIF>
public class OccTypeComparator
- extends TopicComparator
INTERNAL: A Comparator for ordering topics alphabetically. Note that
it does not look up the 'sort' topic for you, but that this must be
provided explicitly to the constructors.
Method Summary |
int |
compare(TopicIF o1,
TopicIF o2)
implementing method which is required for Comparator interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OccTypeComparator
public OccTypeComparator()
compare
public int compare(TopicIF o1,
TopicIF o2)
- Description copied from class:
TopicComparator
- implementing method which is required for Comparator interface.
- Specified by:
compare
in interface Comparator<TopicIF>
- Overrides:
compare
in class TopicComparator
Copyright © 2000-2012 Ontopia.