|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.ScopedIFComparator net.ontopia.topicmaps.utils.TopicNameComparator
public class TopicNameComparator
INTERNAL: Comparator that first sorts by type then by scope, where untyped base names are ordered before typed ones.
Field Summary |
---|
Fields inherited from class net.ontopia.topicmaps.utils.ScopedIFComparator |
---|
scope, subcomparator |
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
INTERNAL: Compares the two ScopedIF objects for their applicability in the scope specified in the constructor. |
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 |
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
ScopedIFComparator
compare
in interface java.util.Comparator
compare
in class ScopedIFComparator
o1
- An object implementing ScopedIF.o2
- An object implementing ScopedIF.
Comparator.compare(Object,Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |