de.topicmapslab.majortom.io
Class CXTMTopicMapWriter.RoleIgnoreParentComparator

java.lang.Object
  extended by de.topicmapslab.majortom.io.CXTMTopicMapWriter.AbstractComparator<org.tmapi.core.Role>
      extended by de.topicmapslab.majortom.io.CXTMTopicMapWriter.RoleIgnoreParentComparator
All Implemented Interfaces:
java.util.Comparator<org.tmapi.core.Role>
Direct Known Subclasses:
CXTMTopicMapWriter.RoleComparator
Enclosing class:
CXTMTopicMapWriter

private class CXTMTopicMapWriter.RoleIgnoreParentComparator
extends CXTMTopicMapWriter.AbstractComparator<org.tmapi.core.Role>

Role comparator which ignores the parent association. This comparator is meant to be used for roles where the parent is known to be equal or unequal.


Constructor Summary
private CXTMTopicMapWriter.RoleIgnoreParentComparator()
           
 
Method Summary
 int compare(org.tmapi.core.Role o1, org.tmapi.core.Role o2)
           
 
Methods inherited from class de.topicmapslab.majortom.io.CXTMTopicMapWriter.AbstractComparator
compareScope, compareString, compareType
 
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
 

Constructor Detail

CXTMTopicMapWriter.RoleIgnoreParentComparator

private CXTMTopicMapWriter.RoleIgnoreParentComparator()
Method Detail

compare

public int compare(org.tmapi.core.Role o1,
                   org.tmapi.core.Role o2)